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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl

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/build/scripts/templates/ElementFactory.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl
index 47abffadedbc6fac1b98ccf3d37e20c85b984235..280201db8ac58c72426f15adf3e870581568af51 100644
--- a/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl
@@ -73,7 +73,7 @@ static void create{{namespace}}FunctionMap() {
CreateElementFlags flags) {
if (!g_constructors)
create{{namespace}}FunctionMap();
- if (ConstructorFunction function = g_constructors->get(localName))
+ if (ConstructorFunction function = g_constructors->at(localName))
return function(document, flags);
{% if namespace == 'HTML' %}

Powered by Google App Engine
This is Rietveld 408576698