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

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, 10 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..02a4d915dcd93e7ac49d62561eb7c7b66cf3d216 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)

Powered by Google App Engine
This is Rietveld 408576698