| Index: third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp b/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| index 80470e16a8054d297c1336ed131cad2eebd69730..ab1fdeb3772cd89648eda89122b0ed6575600f0b 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| @@ -48,9 +48,9 @@ inline ImageInputType::ImageInputType(HTMLInputElement& element)
|
| {
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<InputType> ImageInputType::create(HTMLInputElement& element)
|
| +RawPtr<InputType> ImageInputType::create(HTMLInputElement& element)
|
| {
|
| - return adoptRefWillBeNoop(new ImageInputType(element));
|
| + return new ImageInputType(element);
|
| }
|
|
|
| const AtomicString& ImageInputType::formControlType() const
|
| @@ -109,7 +109,7 @@ static IntPoint extractClickLocation(Event* event)
|
|
|
| void ImageInputType::handleDOMActivateEvent(Event* event)
|
| {
|
| - RefPtrWillBeRawPtr<HTMLInputElement> element(this->element());
|
| + RawPtr<HTMLInputElement> element(this->element());
|
| if (element->isDisabledFormControl() || !element->form())
|
| return;
|
| element->setActivatedSubmit(true);
|
| @@ -189,7 +189,7 @@ bool ImageInputType::shouldRespectHeightAndWidthAttributes()
|
|
|
| unsigned ImageInputType::height() const
|
| {
|
| - RefPtrWillBeRawPtr<HTMLInputElement> element(this->element());
|
| + RawPtr<HTMLInputElement> element(this->element());
|
|
|
| if (!element->layoutObject()) {
|
| // Check the attribute first for an explicit pixel value.
|
| @@ -211,7 +211,7 @@ unsigned ImageInputType::height() const
|
|
|
| unsigned ImageInputType::width() const
|
| {
|
| - RefPtrWillBeRawPtr<HTMLInputElement> element(this->element());
|
| + RawPtr<HTMLInputElement> element(this->element());
|
|
|
| if (!element->layoutObject()) {
|
| // Check the attribute first for an explicit pixel value.
|
|
|