Remove a bogus check added in bug 572618; a=me DONTBUILD

This commit is contained in:
Ehsan Akhgari 2010-11-23 13:09:41 -05:00
parent 3e228bbf17
commit 1459c6c313

View File

@ -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.