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

Unified Diff: third_party/WebKit/Source/core/xml/XPathVariableReference.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/xml/XPathVariableReference.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp b/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp
index dc75b518a2187d293fde3282ba7818a0dcbee7f5..41682d7b50cc91e7d10f795f7d04a70ab63b09ac 100644
--- a/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp
@@ -40,7 +40,7 @@ Value VariableReference::evaluate(EvaluationContext& context) const {
// referenced?
return "";
}
- return bindings.get(m_name);
+ return bindings.at(m_name);
}
} // namespace XPath
« no previous file with comments | « third_party/WebKit/Source/core/workers/Worklet.cpp ('k') | third_party/WebKit/Source/core/xml/XSLTProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698