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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 cb741e98624732d5f8913ba4d57c0d94cdf8db50..e3300cfa54d939e7e900028fbde9e1c250eb1f3a 100644
--- a/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
@@ -40,9 +40,9 @@ RemoteFrameClientImpl::RemoteFrameClientImpl(WebRemoteFrameImpl* webFrame)
{
}
-PassOwnPtrWillBeRawPtr<RemoteFrameClientImpl> RemoteFrameClientImpl::create(WebRemoteFrameImpl* webFrame)
+RawPtr<RemoteFrameClientImpl> RemoteFrameClientImpl::create(WebRemoteFrameImpl* webFrame)
{
- return adoptPtrWillBeNoop(new RemoteFrameClientImpl(webFrame));
+ return new RemoteFrameClientImpl(webFrame);
}
DEFINE_TRACE(RemoteFrameClientImpl)
@@ -63,7 +63,7 @@ void RemoteFrameClientImpl::willBeDetached()
void RemoteFrameClientImpl::detached(FrameDetachType type)
{
// Alert the client that the frame is being detached.
- RefPtrWillBeRawPtr<WebRemoteFrameImpl> protector(m_webFrame.get());
+ RawPtr<WebRemoteFrameImpl> protector(m_webFrame.get());
WebRemoteFrameClient* client = m_webFrame->client();
if (!client)
« 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