mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Remove a bogus check added in bug 572618; a=me DONTBUILD
This commit is contained in:
parent
3e228bbf17
commit
1459c6c313
@ -713,7 +713,8 @@ nsEditorEventListener::CanDrop(nsIDOMDragEvent* aEvent)
|
||||
// is the same as the drag source.
|
||||
nsCOMPtr<nsIDOMNode> sourceNode;
|
||||
dataTransferNS->GetMozSourceNode(getter_AddRefs(sourceNode));
|
||||
NS_ENSURE_TRUE(sourceNode, PR_TRUE);
|
||||
if (!sourceNode)
|
||||
return PR_TRUE;
|
||||
|
||||
// There is a source node, so compare the source documents and this document.
|
||||
// Disallow drops on the same document.
|
||||
|
Loading…
Reference in New Issue
Block a user