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 5f1912e55467fc60351dfed2438986e64a059d01..aaa270d96df825cf200de112143d280bfe004a32 100644 |
--- a/third_party/WebKit/Source/core/html/forms/InputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp |
@@ -136,7 +136,8 @@ const AtomicString& InputType::NormalizeTypeName( |
const AtomicString& type_name) { |
if (type_name.IsEmpty()) |
return InputTypeNames::text; |
- InputTypeFactoryMap::const_iterator it = FactoryMap()->find(type_name); |
+ InputTypeFactoryMap::const_iterator it = |
+ FactoryMap()->find(AtomicString(type_name.Ascii().data())); |
tkent
2017/06/05 00:27:50
As the try bots showed failures, this change is wr
|
return it == FactoryMap()->end() ? InputTypeNames::text : it->key; |
} |