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

Unified Diff: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase 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/resolver/CSSVariableResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
index 3650b57b377e997aa538312a30b3365e9ab23860..19e43feb789cc32ab8e7775061a4cb5bf74b010e 100644
--- a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
@@ -242,7 +242,7 @@ const CSSValue* CSSVariableResolver::resolvePendingSubstitutions(
HeapHashMap<CSSPropertyID, Member<const CSSValue>>& propertyCache =
state.parsedPropertiesForPendingSubstitutionCache(pendingValue);
- const CSSValue* value = propertyCache.get(id);
+ const CSSValue* value = propertyCache.at(id);
if (!value) {
// TODO(timloh): We shouldn't retry this for all longhands if the shorthand
// ends up invalid.
@@ -270,7 +270,7 @@ const CSSValue* CSSVariableResolver::resolvePendingSubstitutions(
}
}
}
- value = propertyCache.get(id);
+ value = propertyCache.at(id);
}
if (value)

Powered by Google App Engine
This is Rietveld 408576698