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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputType.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/html/forms/InputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/InputType.cpp b/third_party/WebKit/Source/core/html/forms/InputType.cpp
index b1b682ee24d34cf0df39e107bd356d91d062b6f8..c833c9ce6a536b3794d9ed40f5784eb8c9b3ab0e 100644
--- a/third_party/WebKit/Source/core/html/forms/InputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp
@@ -121,7 +121,7 @@ static const InputTypeFactoryMap* factoryMap() {
InputType* InputType::create(HTMLInputElement& element,
const AtomicString& typeName) {
InputTypeFactoryFunction factory =
- typeName.isEmpty() ? 0 : factoryMap()->get(typeName);
+ typeName.isEmpty() ? 0 : factoryMap()->at(typeName);
if (!factory)
factory = TextInputType::create;
return factory(element);

Powered by Google App Engine
This is Rietveld 408576698