Title: [110321] trunk/Source/WebCore
Revision
110321
Author
[email protected]
Date
2012-03-09 12:53:17 -0800 (Fri, 09 Mar 2012)

Log Message

Remove a bogus assertion. This condition is no longer true for non-document tree scopes.

* dom/TreeScope.cpp:
(WebCore::TreeScope::activeElement):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (110320 => 110321)


--- trunk/Source/WebCore/ChangeLog	2012-03-09 20:34:16 UTC (rev 110320)
+++ trunk/Source/WebCore/ChangeLog	2012-03-09 20:53:17 UTC (rev 110321)
@@ -1,5 +1,12 @@
 2012-03-09  Ryosuke Niwa  <[email protected]>
 
+        Remove a bogus assertion. This condition is no longer true for non-document tree scopes.
+
+        * dom/TreeScope.cpp:
+        (WebCore::TreeScope::activeElement):
+
+2012-03-09  Ryosuke Niwa  <[email protected]>
+
         Cleanup incDOMTreeVersion callers
         https://bugs.webkit.org/show_bug.cgi?id=80452
 

Modified: trunk/Source/WebCore/dom/TreeScope.cpp (110320 => 110321)


--- trunk/Source/WebCore/dom/TreeScope.cpp	2012-03-09 20:34:16 UTC (rev 110320)
+++ trunk/Source/WebCore/dom/TreeScope.cpp	2012-03-09 20:53:17 UTC (rev 110321)
@@ -173,7 +173,6 @@
     if (!node)
         return document->body();
 
-    ASSERT(node->document() == this);
     TreeScope* treeScope = node->treeScope();
 
     while (treeScope != this && treeScope != document) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to