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

Unified Diff: third_party/WebKit/Source/web/WebInputElement.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/web/WebInputElement.cpp
diff --git a/third_party/WebKit/Source/web/WebInputElement.cpp b/third_party/WebKit/Source/web/WebInputElement.cpp
index 139b51078efd8589f5fface4e70b03deae1fcb2e..904642198edfabcf1c07343dd7389ceaa5ea1e71 100644
--- a/third_party/WebKit/Source/web/WebInputElement.cpp
+++ b/third_party/WebKit/Source/web/WebInputElement.cpp
@@ -143,20 +143,20 @@ void WebInputElement::setShouldRevealPassword(bool value)
unwrap<HTMLInputElement>()->setShouldRevealPassword(value);
}
-WebInputElement::WebInputElement(const PassRefPtrWillBeRawPtr<HTMLInputElement>& elem)
+WebInputElement::WebInputElement(const RawPtr<HTMLInputElement>& elem)
: WebFormControlElement(elem)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebInputElement, isHTMLInputElement(constUnwrap<Node>()));
-WebInputElement& WebInputElement::operator=(const PassRefPtrWillBeRawPtr<HTMLInputElement>& elem)
+WebInputElement& WebInputElement::operator=(const RawPtr<HTMLInputElement>& elem)
{
m_private = elem;
return *this;
}
-WebInputElement::operator PassRefPtrWillBeRawPtr<HTMLInputElement>() const
+WebInputElement::operator RawPtr<HTMLInputElement>() const
{
return toHTMLInputElement(m_private.get());
}

Powered by Google App Engine
This is Rietveld 408576698