diff --git a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
index a6c8417b449..8fb93f49957 100644
--- a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
+++ b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
@@ -2636,7 +2636,7 @@ nsresult nsHTMLEditor::ParseFragment(const nsAString & aFragStr,
nsCOMPtr *outNode)
{
// figure out if we are parsing full context or not
- PRBool bContext = !aTagStack.IsEmpty();
+ PRBool bContext = aTagStack.IsEmpty();
// create the parser to do the conversion.
nsresult res;