Title: [111478] trunk/Source/WebCore
- Revision
- 111478
- Author
- [email protected]
- Date
- 2012-03-20 17:48:15 -0700 (Tue, 20 Mar 2012)
Log Message
Include fix for dom/xhtml test promised in r111449.
* dom/ContainerNode.cpp:
(WebCore::ContainerNode::replaceChild): Check against next instead of
prev when deciding there's no work to do.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (111477 => 111478)
--- trunk/Source/WebCore/ChangeLog 2012-03-21 00:36:53 UTC (rev 111477)
+++ trunk/Source/WebCore/ChangeLog 2012-03-21 00:48:15 UTC (rev 111478)
@@ -1,3 +1,11 @@
+2012-03-20 Adam Klein <[email protected]>
+
+ Include fix for dom/xhtml test promised in r111449.
+
+ * dom/ContainerNode.cpp:
+ (WebCore::ContainerNode::replaceChild): Check against next instead of
+ prev when deciding there's no work to do.
+
2012-03-20 Jon Lee <[email protected]>
Restrict access to notifications for unique origins and file URLs with no local file access
Modified: trunk/Source/WebCore/dom/ContainerNode.cpp (111477 => 111478)
--- trunk/Source/WebCore/dom/ContainerNode.cpp 2012-03-21 00:36:53 UTC (rev 111477)
+++ trunk/Source/WebCore/dom/ContainerNode.cpp 2012-03-21 00:48:15 UTC (rev 111478)
@@ -292,7 +292,7 @@
Node* child = it->get();
// If the new child is already in the right place, we're done.
- if (prev && (prev == child || prev == child->previousSibling()))
+ if (next && (next == child || next == child->previousSibling()))
break;
// Remove child from its old position.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes