Index: third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp |
index aca28342b55b0d8d63095c2406bf06611a14e85a..137284f76e3f3a848304f3d07dbb77c1b53180ab 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp |
@@ -331,7 +331,7 @@ void CompositingRequirementsUpdater::updateRecursive( |
// Remove irrelevant unclipped descendants in reverse order so our stored |
// indices remain valid. |
for (size_t i = 0; i < unclippedDescendantsToRemove.size(); i++) { |
- unclippedDescendants.remove(unclippedDescendantsToRemove.at( |
+ unclippedDescendants.erase(unclippedDescendantsToRemove.at( |
unclippedDescendantsToRemove.size() - i - 1)); |
} |