Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: third_party/WebKit/Source/core/html/HTMLLabelElement.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698