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

Unified Diff: third_party/WebKit/Source/core/dom/PresentationAttributeStyle.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/dom/PresentationAttributeStyle.cpp
diff --git a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
index e014e49f24f243ffc15f43e555d462b530337018..6347b64e53f784f030214ea2b503dfb51018e05b 100644
--- a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
+++ b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
@@ -188,7 +188,7 @@ StylePropertySet* computePresentationAttributeStyle(Element& element) {
PresentationAttributeCache::ValueType* cacheValue;
if (cacheHash) {
cacheValue =
- presentationAttributeCache().add(cacheHash, nullptr).storedValue;
+ presentationAttributeCache().insert(cacheHash, nullptr).storedValue;
if (cacheValue->value && cacheValue->value->key != cacheKey)
cacheHash = 0;
} else {
« no previous file with comments | « third_party/WebKit/Source/core/dom/NthIndexCache.cpp ('k') | third_party/WebKit/Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698