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

Unified Diff: third_party/WebKit/Source/core/css/StyleSheetContents.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/core/css/StyleSheetContents.cpp
diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
index 85d49cc86b065a12fb381fb28318068dd82d4f2c..0e38ceab3898dbcb56d8971f303a46bbb436d259 100644
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
@@ -312,7 +312,7 @@ void StyleSheetContents::parserAddNamespace(const AtomicString& prefix,
m_defaultNamespace = uri;
return;
}
- PrefixNamespaceURIMap::AddResult result = m_namespaces.add(prefix, uri);
+ PrefixNamespaceURIMap::AddResult result = m_namespaces.insert(prefix, uri);
if (result.isNewEntry)
return;
result.storedValue->value = uri;
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleSet.cpp ('k') | third_party/WebKit/Source/core/css/invalidation/StyleInvalidator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698