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

Unified Diff: third_party/WebKit/Source/web/WebOptionElement.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/WebNode.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebOptionElement.cpp
diff --git a/third_party/WebKit/Source/web/WebOptionElement.cpp b/third_party/WebKit/Source/web/WebOptionElement.cpp
index eb5fce462c94b260e0baa142e7128b88eca57fb5..312a75aa75759be984d9bb8fdc5bc711280d3d0f 100644
--- a/third_party/WebKit/Source/web/WebOptionElement.cpp
+++ b/third_party/WebKit/Source/web/WebOptionElement.cpp
@@ -52,20 +52,20 @@ WebString WebOptionElement::label() const
return constUnwrap<HTMLOptionElement>()->label();
}
-WebOptionElement::WebOptionElement(const RawPtr<HTMLOptionElement>& elem)
+WebOptionElement::WebOptionElement(HTMLOptionElement*elem)
: WebElement(elem)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebOptionElement, isHTMLOptionElement(constUnwrap<Node>()));
-WebOptionElement& WebOptionElement::operator=(const RawPtr<HTMLOptionElement>& elem)
+WebOptionElement& WebOptionElement::operator=(HTMLOptionElement*elem)
{
m_private = elem;
return *this;
}
-WebOptionElement::operator RawPtr<HTMLOptionElement>() const
+WebOptionElement::operator HTMLOptionElement*() const
{
return toHTMLOptionElement(m_private.get());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebNode.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698