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

Unified Diff: third_party/WebKit/Source/core/style/StyleNonInheritedVariables.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/style/StyleNonInheritedVariables.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleNonInheritedVariables.cpp b/third_party/WebKit/Source/core/style/StyleNonInheritedVariables.cpp
index e9551a9c89d2b23e046452204fd679a69042d6f8..89f0267aa1648a4b3fb3f6762b630abed5c60b2a 100644
--- a/third_party/WebKit/Source/core/style/StyleNonInheritedVariables.cpp
+++ b/third_party/WebKit/Source/core/style/StyleNonInheritedVariables.cpp
@@ -14,7 +14,7 @@ bool StyleNonInheritedVariables::operator==(
return false;
for (const auto& iter : m_data) {
- RefPtr<CSSVariableData> otherData = other.m_data.get(iter.key);
+ RefPtr<CSSVariableData> otherData = other.m_data.at(iter.key);
if (!dataEquivalent(iter.value, otherData))
return false;
}
@@ -24,7 +24,7 @@ bool StyleNonInheritedVariables::operator==(
CSSVariableData* StyleNonInheritedVariables::getVariable(
const AtomicString& name) const {
- return m_data.get(name);
+ return m_data.at(name);
}
void StyleNonInheritedVariables::setRegisteredVariable(
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleNonInheritedVariables.h ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698