Index: Source/core/html/forms/TextInputType.cpp |
diff --git a/Source/core/html/forms/TextInputType.cpp b/Source/core/html/forms/TextInputType.cpp |
index 0b1d56dcdc72dcb434611a68aa9266ccdeb95656..e15324a443b650e21460baec232ae0f286f1169f 100644 |
--- a/Source/core/html/forms/TextInputType.cpp |
+++ b/Source/core/html/forms/TextInputType.cpp |
@@ -39,14 +39,14 @@ namespace WebCore { |
using namespace HTMLNames; |
-PassRefPtr<InputType> TextInputType::create(HTMLInputElement* element) |
+PassRefPtr<InputType> TextInputType::create(HTMLInputElement& element) |
{ |
return adoptRef(new TextInputType(element)); |
} |
void TextInputType::countUsage() |
{ |
- const AtomicString& type = element()->fastGetAttribute(typeAttr); |
+ const AtomicString& type = element().fastGetAttribute(typeAttr); |
if (equalIgnoringCase(type, InputTypeNames::datetime())) |
observeFeatureIfVisible(UseCounter::InputTypeDateTimeFallback); |
else if (equalIgnoringCase(type, InputTypeNames::week())) |