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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.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/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
index 35aa980afeeb85539a09ff15d6bd5c829ae6f07f..5322f6657871493ec2930a00ec7de1f3b110dfa1 100644
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
@@ -142,7 +142,7 @@ static CSSPropertyID cssPropertyInfo(const AtomicString& name) {
CSSPropertyID unresolvedProperty = parseCSSPropertyID(name);
if (unresolvedProperty == CSSPropertyVariable)
unresolvedProperty = CSSPropertyInvalid;
- map.add(name, unresolvedProperty);
+ map.insert(name, unresolvedProperty);
ASSERT(!unresolvedProperty ||
CSSPropertyMetadata::isEnabledProperty(unresolvedProperty));
return unresolvedProperty;

Powered by Google App Engine
This is Rietveld 408576698