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

Unified Diff: third_party/WebKit/Source/web/WebLabelElement.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, 9 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/web/WebLabelElement.cpp
diff --git a/third_party/WebKit/Source/web/WebLabelElement.cpp b/third_party/WebKit/Source/web/WebLabelElement.cpp
index fb0e90a795302ad01bd046f6ad986f22fd5600ef..e8ff88b37c8545da145578b931546a0da964ee06 100644
--- a/third_party/WebKit/Source/web/WebLabelElement.cpp
+++ b/third_party/WebKit/Source/web/WebLabelElement.cpp
@@ -42,20 +42,20 @@ WebElement WebLabelElement::correspondingControl()
return WebElement(unwrap<HTMLLabelElement>()->control());
}
-WebLabelElement::WebLabelElement(const PassRefPtrWillBeRawPtr<HTMLLabelElement>& elem)
+WebLabelElement::WebLabelElement(const RawPtr<HTMLLabelElement>& elem)
: WebElement(elem)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebLabelElement, isHTMLLabelElement(constUnwrap<Node>()));
-WebLabelElement& WebLabelElement::operator=(const PassRefPtrWillBeRawPtr<HTMLLabelElement>& elem)
+WebLabelElement& WebLabelElement::operator=(const RawPtr<HTMLLabelElement>& elem)
{
m_private = elem;
return *this;
}
-WebLabelElement::operator PassRefPtrWillBeRawPtr<HTMLLabelElement>() const
+WebLabelElement::operator RawPtr<HTMLLabelElement>() const
{
return toHTMLLabelElement(m_private.get());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebInputElement.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698