| 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 d06a1caa1e8eeb00b209db861ca386bb3eadde08..9725d5107820b2d17920b7e337f2e4b7509d36b9 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -2407,7 +2407,7 @@ void LayoutObject::addLayerHitTestRects(LayerHitTestRects& layerRects,
|
| if (iterValue->size() > maxRectsPerLayer) {
|
| // Just mark the entire layer instead, and switch to walking the layer
|
| // tree instead of the layout tree.
|
| - layerRects.remove(currentLayer);
|
| + layerRects.erase(currentLayer);
|
| currentLayer->addLayerHitTestRects(layerRects);
|
| return;
|
| }
|
|
|