Title: [104595] trunk/Source/WebCore
Revision
104595
Author
[email protected]
Date
2012-01-10 10:23:13 -0800 (Tue, 10 Jan 2012)

Log Message

Not reviewed, follow up to r104586: fix assertion within the loop.

* inspector/DOMEditor.cpp:
(WebCore::DOMEditor::patchChildren):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (104594 => 104595)


--- trunk/Source/WebCore/ChangeLog	2012-01-10 18:05:45 UTC (rev 104594)
+++ trunk/Source/WebCore/ChangeLog	2012-01-10 18:23:13 UTC (rev 104595)
@@ -1,3 +1,10 @@
+2012-01-10  Pavel Feldman  <[email protected]>
+
+        Not reviewed, follow up to r104586: fix assertion within the loop.
+
+        * inspector/DOMEditor.cpp:
+        (WebCore::DOMEditor::patchChildren):
+
 2012-01-10  Brady Eidson  <[email protected]>
 
         <rdar://problem/9328684> and https://bugs.webkit.org/show_bug.cgi?id=62764

Modified: trunk/Source/WebCore/inspector/DOMEditor.cpp (104594 => 104595)


--- trunk/Source/WebCore/inspector/DOMEditor.cpp	2012-01-10 18:05:45 UTC (rev 104594)
+++ trunk/Source/WebCore/inspector/DOMEditor.cpp	2012-01-10 18:23:13 UTC (rev 104595)
@@ -232,7 +232,8 @@
 
         ExceptionCode ec = 0;
         oldParent->insertBefore(newList[i]->m_node, oldParent->childNode(i + offset), ec);
-        return !ec;
+        if (ec)
+            return false;
     }
 
     return true;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to