Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Unified Diff: Source/core/dom/ContainerNode.cpp

Issue 267303004: Oilpan: cleanup based on review comments after removal of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/dom/Document.h » ('j') | Source/core/dom/shadow/ElementShadow.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ContainerNode.cpp
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
index 04c55d0644d5f8bbd0c86355a63720908fd59ee3..c5d6882e1b4080a170f9dfe2dbfea79be6589af2 100644
--- a/Source/core/dom/ContainerNode.cpp
+++ b/Source/core/dom/ContainerNode.cpp
@@ -486,9 +486,9 @@ void ContainerNode::removeBetween(Node* previousChild, Node* nextChild, Node& ol
nextChild->setPreviousSibling(previousChild);
if (previousChild)
previousChild->setNextSibling(nextChild);
- if (m_firstChild == &oldChild)
+ if (m_firstChild == oldChild)
m_firstChild = nextChild;
- if (m_lastChild == &oldChild)
+ if (m_lastChild == oldChild)
m_lastChild = previousChild;
oldChild.setPreviousSibling(0);
« no previous file with comments | « no previous file | Source/core/dom/Document.h » ('j') | Source/core/dom/shadow/ElementShadow.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698