Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp

Issue 2776203002: Migrate WTF::Vector::remove() to ::erase() (Closed)
Patch Set: rebase, repatch VectorTest Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/WebKit/Source/core/html/track/TrackListBase.h ('k') | third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698