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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 years, 3 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: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index b76693c6ca71a02fbe1b40291fde72537da8624c..e97404487c4f12a58b58c8071cff77841e6f8898 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -295,7 +295,7 @@ void FrameLoaderClientImpl::detachedFromParent()
{
// Alert the client that the frame is being detached. This is the last
// chance we have to communicate with the client.
- RefPtr<WebLocalFrameImpl> protector(m_webFrame);
+ RefPtrWillBeRawPtr<WebLocalFrameImpl> protector(m_webFrame);
WebFrameClient* client = m_webFrame->client();
if (!client)
@@ -618,7 +618,7 @@ void FrameLoaderClientImpl::transitionToCommittedForNewPage()
m_webFrame->createFrameView();
}
-PassRefPtr<LocalFrame> FrameLoaderClientImpl::createFrame(
+PassRefPtrWillBeRawPtr<LocalFrame> FrameLoaderClientImpl::createFrame(
const KURL& url,
const AtomicString& name,
const Referrer& referrer,

Powered by Google App Engine
This is Rietveld 408576698