| Index: third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp b/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| index 042e3a1aea1c03d574b31655fa006157df2d4727..3c31184fbd434f34cc3ce159201cabbbf62b2410 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLabelElement.cpp
|
| @@ -48,9 +48,9 @@ inline HTMLLabelElement::HTMLLabelElement(Document& document, HTMLFormElement* f
|
| FormAssociatedElement::associateByParser(form);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<HTMLLabelElement> HTMLLabelElement::create(Document& document, HTMLFormElement* form)
|
| +RawPtr<HTMLLabelElement> HTMLLabelElement::create(Document& document, HTMLFormElement* form)
|
| {
|
| - RefPtrWillBeRawPtr<HTMLLabelElement> labelElement = adoptRefWillBeNoop(new HTMLLabelElement(document, form));
|
| + RawPtr<HTMLLabelElement> labelElement = (new HTMLLabelElement(document, form));
|
| return labelElement.release();
|
| }
|
|
|
| @@ -127,7 +127,7 @@ bool HTMLLabelElement::isInInteractiveContent(Node* node) const
|
| void HTMLLabelElement::defaultEventHandler(Event* evt)
|
| {
|
| if (evt->type() == EventTypeNames::click && !m_processingClick) {
|
| - RefPtrWillBeRawPtr<HTMLElement> element = control();
|
| + RawPtr<HTMLElement> element = control();
|
|
|
| // If we can't find a control or if the control received the click
|
| // event, then there's no need for us to do anything.
|
|
|