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

Unified Diff: third_party/WebKit/Source/web/WebLabelElement.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/WebLabelElement.cpp
diff --git a/third_party/WebKit/Source/web/WebLabelElement.cpp b/third_party/WebKit/Source/web/WebLabelElement.cpp
index e8ff88b37c8545da145578b931546a0da964ee06..8737c0b853f7867f3d97c916df54b795096ba299 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 RawPtr<HTMLLabelElement>& elem)
+WebLabelElement::WebLabelElement(HTMLLabelElement* elem)
: WebElement(elem)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebLabelElement, isHTMLLabelElement(constUnwrap<Node>()));
-WebLabelElement& WebLabelElement::operator=(const RawPtr<HTMLLabelElement>& elem)
+WebLabelElement& WebLabelElement::operator=(HTMLLabelElement* elem)
{
m_private = elem;
return *this;
}
-WebLabelElement::operator RawPtr<HTMLLabelElement>() const
+WebLabelElement::operator 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