Index: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
index 0c6dbef0d0db5010ff49a96711f4de95dc5b3ea6..f5c5dda2b4107661ea450afcc98b4e9d489f5368 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp |
@@ -503,7 +503,7 @@ void InspectorLayerTreeAgent::didRemovePageOverlay(const GraphicsLayer* layer) { |
size_t index = m_pageOverlayLayerIds.find(layer->platformLayer()->id()); |
if (index == WTF::kNotFound) |
return; |
- m_pageOverlayLayerIds.remove(index); |
+ m_pageOverlayLayerIds.erase(index); |
} |
} // namespace blink |