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

Unified Diff: third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 11 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/editing/markers/DocumentMarkerController.cpp
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
index 2a23e42732c35eea6bfa9e9388161fd933e740c6..64a00a793e01297438fcb532af8bffb90d17ac44 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp
@@ -422,7 +422,7 @@ void DocumentMarkerController::removeMarkers(
}
if (emptyListsCount == DocumentMarker::MarkerTypeIndexesCount) {
- m_markers.remove(node);
+ m_markers.erase(node);
if (m_markers.isEmpty())
m_possiblyExistingMarkerTypes = 0;
}

Powered by Google App Engine
This is Rietveld 408576698