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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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 a91c312d700dff79fdf635306d76e141b938b60f..ba1fd9a1d0be91c1d848e9d250b67d0152a8202b 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.cpp
@@ -49,7 +49,7 @@ OffscreenCanvasPlaceholder* OffscreenCanvasPlaceholder::getPlaceholderById(
void OffscreenCanvasPlaceholder::registerPlaceholder(unsigned placeholderId) {
DCHECK(!placeholderRegistry().contains(placeholderId));
DCHECK(!isPlaceholderRegistered());
- placeholderRegistry().add(placeholderId, this);
+ placeholderRegistry().insert(placeholderId, this);
m_placeholderId = placeholderId;
}

Powered by Google App Engine
This is Rietveld 408576698