| Index: third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp b/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
|
| index 756c6624df8dae9acc371790f28e88ae677c0c03..663b70b3df20d0061b095a9465aaf8f3f3ae854e 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
|
| @@ -41,10 +41,10 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtrWillBeRawPtr<InputType> SubmitInputType::create(HTMLInputElement& element)
|
| +RawPtr<InputType> SubmitInputType::create(HTMLInputElement& element)
|
| {
|
| UseCounter::count(element.document(), UseCounter::InputTypeSubmit);
|
| - return adoptRefWillBeNoop(new SubmitInputType(element));
|
| + return new SubmitInputType(element);
|
| }
|
|
|
| const AtomicString& SubmitInputType::formControlType() const
|
| @@ -65,7 +65,7 @@ bool SubmitInputType::supportsRequired() const
|
|
|
| void SubmitInputType::handleDOMActivateEvent(Event* event)
|
| {
|
| - RefPtrWillBeRawPtr<HTMLInputElement> element(this->element());
|
| + RawPtr<HTMLInputElement> element(this->element());
|
| if (element->isDisabledFormControl() || !element->form())
|
| return;
|
| element->setActivatedSubmit(true);
|
|
|