Index: Source/core/html/forms/URLInputType.cpp |
diff --git a/Source/core/html/forms/URLInputType.cpp b/Source/core/html/forms/URLInputType.cpp |
index c58107eefb3b3529e67506fd48f8c04411159875..f662e1ad52f621adf63cab50b2756644985032a6 100644 |
--- a/Source/core/html/forms/URLInputType.cpp |
+++ b/Source/core/html/forms/URLInputType.cpp |
@@ -38,7 +38,7 @@ |
namespace WebCore { |
-PassRefPtr<InputType> URLInputType::create(HTMLInputElement* element) |
+PassRefPtr<InputType> URLInputType::create(HTMLInputElement& element) |
{ |
return adoptRef(new URLInputType(element)); |
} |
@@ -60,7 +60,7 @@ bool URLInputType::typeMismatchFor(const String& value) const |
bool URLInputType::typeMismatch() const |
{ |
- return typeMismatchFor(element()->value()); |
+ return typeMismatchFor(element().value()); |
} |
String URLInputType::typeMismatchText() const |