| Index: Source/core/html/forms/TextInputType.cpp
|
| diff --git a/Source/core/html/forms/TextInputType.cpp b/Source/core/html/forms/TextInputType.cpp
|
| index c90ace44d920381f2ab5a38c8073cc7e217ece39..a5e9db19398f0862915da6c188e6c506018703ca 100644
|
| --- a/Source/core/html/forms/TextInputType.cpp
|
| +++ b/Source/core/html/forms/TextInputType.cpp
|
| @@ -31,8 +31,8 @@
|
| #include "config.h"
|
| #include "core/html/forms/TextInputType.h"
|
|
|
| +#include "InputTypeNames.h"
|
| #include "core/html/HTMLInputElement.h"
|
| -#include "core/html/forms/InputTypeNames.h"
|
| #include "wtf/PassOwnPtr.h"
|
|
|
| namespace WebCore {
|
| @@ -50,15 +50,15 @@ void TextInputType::countUsage()
|
| if (element().fastHasAttribute(maxlengthAttr))
|
| countUsageIfVisible(UseCounter::InputTypeTextMaxLength);
|
| const AtomicString& type = element().fastGetAttribute(typeAttr);
|
| - if (equalIgnoringCase(type, InputTypeNames::datetime()))
|
| + if (equalIgnoringCase(type, InputTypeNames::datetime))
|
| countUsageIfVisible(UseCounter::InputTypeDateTimeFallback);
|
| - else if (equalIgnoringCase(type, InputTypeNames::week()))
|
| + else if (equalIgnoringCase(type, InputTypeNames::week))
|
| countUsageIfVisible(UseCounter::InputTypeWeekFallback);
|
| }
|
|
|
| const AtomicString& TextInputType::formControlType() const
|
| {
|
| - return InputTypeNames::text();
|
| + return InputTypeNames::text;
|
| }
|
|
|
| bool TextInputType::shouldRespectSpeechAttribute()
|
|
|