diff --git a/content/xml/document/src/nsXMLPrettyPrinter.cpp b/content/xml/document/src/nsXMLPrettyPrinter.cpp index 2239b078b84d..1f7f1f1af21f 100644 --- a/content/xml/document/src/nsXMLPrettyPrinter.cpp +++ b/content/xml/document/src/nsXMLPrettyPrinter.cpp @@ -205,7 +205,7 @@ nsXMLPrettyPrinter::MaybeUnhook(nsIContent* aContent) { // If there either aContent is null (the document-node was modified) or // there isn't a binding parent we know it's non-anonymous content. - if (aContent || !aContent->GetBindingParent()) { + if (!aContent || !aContent->GetBindingParent()) { mUnhookPending = PR_TRUE; } }