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

Unified Diff: third_party/WebKit/Source/web/WebPluginDocument.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/WebPluginDocument.cpp
diff --git a/third_party/WebKit/Source/web/WebPluginDocument.cpp b/third_party/WebKit/Source/web/WebPluginDocument.cpp
index e45be7b09f3a43da87427076d83daf2f04361408..80828e774429bb30416cd1e95eacb915e82db05b 100644
--- a/third_party/WebKit/Source/web/WebPluginDocument.cpp
+++ b/third_party/WebKit/Source/web/WebPluginDocument.cpp
@@ -51,20 +51,20 @@ WebPlugin* WebPluginDocument::plugin()
}
-WebPluginDocument::WebPluginDocument(const RawPtr<PluginDocument>& elem)
+WebPluginDocument::WebPluginDocument(PluginDocument*elem)
: WebDocument(elem)
{
}
DEFINE_WEB_NODE_TYPE_CASTS(WebPluginDocument, isDocumentNode() && constUnwrap<Document>()->isPluginDocument());
-WebPluginDocument& WebPluginDocument::operator=(const RawPtr<PluginDocument>& elem)
+WebPluginDocument& WebPluginDocument::operator=(PluginDocument*elem)
{
m_private = elem;
return *this;
}
-WebPluginDocument::operator RawPtr<PluginDocument>() const
+WebPluginDocument::operator PluginDocument*() const
{
return static_cast<PluginDocument*>(m_private.get());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.cpp ('k') | third_party/WebKit/Source/web/WebRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698