Index: third_party/WebKit/Source/core/dom/TreeScope.cpp |
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp |
index d058a499ad873914f2fdf335fc7f84236f50983d..422de1a85924481fffd9b307750560cfd402d758 100644 |
--- a/third_party/WebKit/Source/core/dom/TreeScope.cpp |
+++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp |
@@ -484,8 +484,8 @@ const TreeScope* TreeScope::commonAncestorTreeScope( |
while (!thisChain.isEmpty() && !otherChain.isEmpty() && |
thisChain.last() == otherChain.last()) { |
lastAncestor = thisChain.last(); |
- thisChain.removeLast(); |
- otherChain.removeLast(); |
+ thisChain.pop_back(); |
+ otherChain.pop_back(); |
} |
return lastAncestor; |
} |