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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.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/platform/graphics/OffscreenCanvasPlaceholder.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
index d1fa3da37ddaf88fef4b1959220bbe7d529770c7..a91c312d700dff79fdf635306d76e141b938b60f 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
@@ -57,7 +57,7 @@ void OffscreenCanvasPlaceholder::unregisterPlaceholder() {
if (!isPlaceholderRegistered())
return;
DCHECK(placeholderRegistry().find(m_placeholderId)->value == this);
- placeholderRegistry().remove(m_placeholderId);
+ placeholderRegistry().erase(m_placeholderId);
m_placeholderId = kNoPlaceholderId;
}

Powered by Google App Engine
This is Rietveld 408576698