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

Unified Diff: third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.h

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/core/testing/DeathAwareScriptWrappable.h
diff --git a/third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.h b/third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.h
index ee3e835d167c05d668468b5a957367e3fd04fa70..df64935bd2333333c0753a5fa0ed6b48fc2c251c 100644
--- a/third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.h
+++ b/third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.h
@@ -71,7 +71,7 @@ class DeathAwareScriptWrappable
void addWrappedHashMapDependency(DeathAwareScriptWrappable* key,
DeathAwareScriptWrappable* value) {
- m_wrappedHashMapDependency.add(Wrapper(this, key), Wrapper(this, value));
+ m_wrappedHashMapDependency.insert(Wrapper(this, key), Wrapper(this, value));
}
private:

Powered by Google App Engine
This is Rietveld 408576698