Unreviewed, nit fix after r190229.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Sep 2015 17:25:52 +0000 (17:25 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Sep 2015 17:25:52 +0000 (17:25 +0000)
* dom/Range.cpp:
(WebCore::Range::insertNode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190243 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/dom/Range.cpp

index 4c83e4e..964368a 100644 (file)
@@ -1,3 +1,10 @@
+2015-09-25  Chris Dumez  <cdumez@apple.com>
+
+        Unreviewed, nit fix after r190229.
+
+        * dom/Range.cpp:
+        (WebCore::Range::insertNode):
+
 2015-09-25  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r190232 and r190236.
index 9937d78..d90cb38 100644 (file)
@@ -868,7 +868,7 @@ void Range::insertNode(RefPtr<Node>&& node, ExceptionCode& ec)
             return;
     }
 
-    if (referenceNode.get() == node.get())
+    if (referenceNode == node)
         referenceNode = referenceNode->nextSibling();
 
     node->remove(ec);