Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 389c93374bdb3e2e15900cb6709a17db990012aa..77a1e515a910e67467a2cef0143ce9938a223bd4 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -2368,7 +2368,7 @@ void LayoutObject::localToAncestorRects(Vector<LayoutRect>& rects, |
localToAncestorQuad(FloatQuad(FloatRect(rect)), ancestor); |
LayoutRect containerRect = LayoutRect(containerQuad.boundingBox()); |
if (containerRect.isEmpty()) { |
- rects.remove(i--); |
+ rects.erase(i--); |
continue; |
} |
containerRect.moveBy(postOffset); |