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

Unified Diff: third_party/WebKit/Source/web/WebInputElement.cpp

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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 b487761d00c6afd67b5ed2ecf00528dfa0c74bc3..e8b4233335d845035dcc235a4a6b04be14f6b5e9 100644
--- a/third_party/WebKit/Source/web/WebInputElement.cpp
+++ b/third_party/WebKit/Source/web/WebInputElement.cpp
@@ -144,20 +144,20 @@ void WebInputElement::setShouldRevealPassword(bool value)
unwrap<HTMLInputElement>()->setShouldRevealPassword(value);
}
-WebInputElement::WebInputElement(const RawPtr<HTMLInputElement>& elem)
+WebInputElement::WebInputElement(HTMLInputElement* elem)
: WebFormControlElement(elem)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebInputElement, isHTMLInputElement(constUnwrap<Node>()));
-WebInputElement& WebInputElement::operator=(const RawPtr<HTMLInputElement>& elem)
+WebInputElement& WebInputElement::operator=(HTMLInputElement* elem)
{
m_private = elem;
return *this;
}
-WebInputElement::operator RawPtr<HTMLInputElement>() const
+WebInputElement::operator HTMLInputElement*() const
{
return toHTMLInputElement(m_private.get());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebHitTestResult.cpp ('k') | third_party/WebKit/Source/web/WebLabelElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698