Title: [164404] trunk/Source/WebCore
Revision
164404
Author
[email protected]
Date
2014-02-19 17:16:56 -0800 (Wed, 19 Feb 2014)

Log Message

Debug build fix after r164401. Removed a bogus assertion in comparePositions.
When either position is anchored at a detached node, they don't have a tree scope in common.

* editing/htmlediting.cpp:
(WebCore::comparePositions):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (164403 => 164404)


--- trunk/Source/WebCore/ChangeLog	2014-02-20 01:06:52 UTC (rev 164403)
+++ trunk/Source/WebCore/ChangeLog	2014-02-20 01:16:56 UTC (rev 164404)
@@ -1,5 +1,13 @@
 2014-02-19  Ryosuke Niwa  <[email protected]>
 
+        Debug build fix after r164401. Removed a bogus assertion in comparePositions.
+        When either position is anchored at a detached node, they don't have a tree scope in common.
+
+        * editing/htmlediting.cpp:
+        (WebCore::comparePositions):
+
+2014-02-19  Ryosuke Niwa  <[email protected]>
+
         fieldset:disabled > legend:first-child legend input should not be disabled
         https://bugs.webkit.org/show_bug.cgi?id=129068
 

Modified: trunk/Source/WebCore/editing/htmlediting.cpp (164403 => 164404)


--- trunk/Source/WebCore/editing/htmlediting.cpp	2014-02-20 01:06:52 UTC (rev 164403)
+++ trunk/Source/WebCore/editing/htmlediting.cpp	2014-02-20 01:16:56 UTC (rev 164404)
@@ -71,7 +71,6 @@
 {
     TreeScope* commonScope = commonTreeScope(a.containerNode(), b.containerNode());
 
-    ASSERT(commonScope);
     if (!commonScope)
         return 0;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to