Title: [119656] branches/chromium/1132/Source/WebCore/dom/ContainerNodeAlgorithms.h
Revision
119656
Author
[email protected]
Date
2012-06-06 17:57:17 -0700 (Wed, 06 Jun 2012)

Log Message

Revert 119622 - Merge 118096
BUG=128157
Review URL: https://chromiumcodereview.appspot.com/10545041

[email protected]
Review URL: https://chromiumcodereview.appspot.com/10543044

Modified Paths

Diff

Modified: branches/chromium/1132/Source/WebCore/dom/ContainerNodeAlgorithms.h (119655 => 119656)


--- branches/chromium/1132/Source/WebCore/dom/ContainerNodeAlgorithms.h	2012-06-07 00:49:34 UTC (rev 119655)
+++ branches/chromium/1132/Source/WebCore/dom/ContainerNodeAlgorithms.h	2012-06-07 00:57:17 UTC (rev 119656)
@@ -135,7 +135,8 @@
             // Clean up any TreeScope to a removed tree.
             if (Document* containerDocument = container->ownerDocument())
                 containerDocument->adoptIfNeeded(node);
-            ChildNodeRemovalNotifier(container).notify(node);
+            if (node->inDocument())
+                ChildNodeRemovalNotifier(container).notify(node);
         }
     };
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to