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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameClientImpl.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/RemoteFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp b/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
index 037c2276e3c50989123fecbdd7d43432aaa3b2bc..597e41607f8d936c1157709708b315977a565b9c 100644
--- a/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
@@ -40,7 +40,7 @@ RemoteFrameClientImpl::RemoteFrameClientImpl(WebRemoteFrameImpl* webFrame)
{
}
-RawPtr<RemoteFrameClientImpl> RemoteFrameClientImpl::create(WebRemoteFrameImpl* webFrame)
+RemoteFrameClientImpl* RemoteFrameClientImpl::create(WebRemoteFrameImpl* webFrame)
{
return new RemoteFrameClientImpl(webFrame);
}
@@ -63,8 +63,6 @@ void RemoteFrameClientImpl::willBeDetached()
void RemoteFrameClientImpl::detached(FrameDetachType type)
{
// Alert the client that the frame is being detached.
- RawPtr<WebRemoteFrameImpl> protector(m_webFrame.get());
-
WebRemoteFrameClient* client = m_webFrame->client();
if (!client)
return;
« no previous file with comments | « third_party/WebKit/Source/web/RemoteFrameClientImpl.h ('k') | third_party/WebKit/Source/web/RemoteFrameOwner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698