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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.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/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index 72b3498927da1ccff9c73db7328507b06fed2501..2831ae18ebdf8e5e04ab34f33e3d59b193fa407e 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -129,7 +129,7 @@ FrameLoaderClientImpl::FrameLoaderClientImpl(WebLocalFrameImpl* frame)
{
}
-RawPtr<FrameLoaderClientImpl> FrameLoaderClientImpl::create(WebLocalFrameImpl* frame)
+FrameLoaderClientImpl* FrameLoaderClientImpl::create(WebLocalFrameImpl* frame)
{
return new FrameLoaderClientImpl(frame);
}
@@ -382,8 +382,6 @@ void FrameLoaderClientImpl::detached(FrameDetachType type)
{
// Alert the client that the frame is being detached. This is the last
// chance we have to communicate with the client.
- RawPtr<WebLocalFrameImpl> protector(m_webFrame.get());
-
WebFrameClient* client = m_webFrame->client();
if (!client)
return;
@@ -808,10 +806,10 @@ Widget* FrameLoaderClientImpl::createPlugin(
return nullptr;
// The container takes ownership of the WebPlugin.
- RawPtr<WebPluginContainerImpl> container =
+ WebPluginContainerImpl* container =
WebPluginContainerImpl::create(element, webPlugin);
- if (!webPlugin->initialize(container.get()))
+ if (!webPlugin->initialize(container))
return nullptr;
if (policy != AllowDetachedPlugin && !element->layoutObject())
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/Source/web/FullscreenController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698