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

Unified Diff: third_party/WebKit/Source/web/WebFormElement.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
« no previous file with comments | « third_party/WebKit/Source/web/WebFormControlElement.cpp ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebFormElement.cpp
diff --git a/third_party/WebKit/Source/web/WebFormElement.cpp b/third_party/WebKit/Source/web/WebFormElement.cpp
index c4caf24b3a912a2a7b068908230e34d9db5d8450..31c2ef4e20bd2271a44a5bfd1b420fd96adfbc23 100644
--- a/third_party/WebKit/Source/web/WebFormElement.cpp
+++ b/third_party/WebKit/Source/web/WebFormElement.cpp
@@ -93,20 +93,20 @@ void WebFormElement::finishRequestAutocomplete(WebFormElement::AutocompleteResul
unwrap<HTMLFormElement>()->finishRequestAutocomplete(static_cast<HTMLFormElement::AutocompleteResult>(result));
}
-WebFormElement::WebFormElement(const RawPtr<HTMLFormElement>& e)
+WebFormElement::WebFormElement(HTMLFormElement* e)
: WebElement(e)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebFormElement, isHTMLFormElement(constUnwrap<Node>()));
-WebFormElement& WebFormElement::operator=(const RawPtr<HTMLFormElement>& e)
+WebFormElement& WebFormElement::operator=(HTMLFormElement* e)
{
m_private = e;
return *this;
}
-WebFormElement::operator RawPtr<HTMLFormElement>() const
+WebFormElement::operator HTMLFormElement*() const
{
return toHTMLFormElement(m_private.get());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebFormControlElement.cpp ('k') | third_party/WebKit/Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698