Index: Source/core/html/SubmitInputType.cpp |
diff --git a/Source/core/html/SubmitInputType.cpp b/Source/core/html/SubmitInputType.cpp |
index 1cb2c636eb902c200614bb44fda8bb08b56eb2f6..16ee3179bac90fe2b0e52462252a1391ded09187 100644 |
--- a/Source/core/html/SubmitInputType.cpp |
+++ b/Source/core/html/SubmitInputType.cpp |
@@ -42,7 +42,7 @@ |
namespace WebCore { |
-PassOwnPtr<InputType> SubmitInputType::create(HTMLInputElement* element) |
+PassOwnPtr<InputType> SubmitInputType::create(Handle<HTMLInputElement> element) |
{ |
return adoptPtr(new SubmitInputType(element)); |
} |
@@ -67,7 +67,7 @@ bool SubmitInputType::supportsRequired() const |
void SubmitInputType::handleDOMActivateEvent(Event* event) |
{ |
- RefPtr<HTMLInputElement> element = this->element(); |
+ Handle<HTMLInputElement> element = this->element(); |
if (element->isDisabledFormControl() || !element->form()) |
return; |
element->setActivatedSubmit(true); |