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

Unified Diff: third_party/WebKit/Source/web/WebMetaElement.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/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebMetaElement.cpp
diff --git a/third_party/WebKit/Source/web/WebMetaElement.cpp b/third_party/WebKit/Source/web/WebMetaElement.cpp
index fdee733606d5fe1e98464327538f31b17a7d28ea..7eda03073bb93b019cef8a5507c10759c06641da 100644
--- a/third_party/WebKit/Source/web/WebMetaElement.cpp
+++ b/third_party/WebKit/Source/web/WebMetaElement.cpp
@@ -16,20 +16,20 @@ WebString WebMetaElement::computeEncoding() const
return String(constUnwrap<HTMLMetaElement>()->computeEncoding().name());
}
-WebMetaElement::WebMetaElement(const RawPtr<HTMLMetaElement>& element)
+WebMetaElement::WebMetaElement(HTMLMetaElement*element)
: WebElement(element)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebMetaElement, isHTMLMetaElement(constUnwrap<Node>()));
-WebMetaElement& WebMetaElement::operator=(const RawPtr<HTMLMetaElement>& element)
+WebMetaElement& WebMetaElement::operator=(HTMLMetaElement*element)
{
m_private = element;
return *this;
}
-WebMetaElement::operator RawPtr<HTMLMetaElement>() const
+WebMetaElement::operator HTMLMetaElement*() const
{
return toHTMLMetaElement(m_private.get());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698