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

Unified Diff: Source/web/RemoteFrameClientImpl.cpp

Issue 1306793003: Oilpan: Move FrameLoaderClient class hierarchy into Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/web/RemoteFrameClientImpl.h ('k') | Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/RemoteFrameClientImpl.cpp
diff --git a/Source/web/RemoteFrameClientImpl.cpp b/Source/web/RemoteFrameClientImpl.cpp
index de0dd1cf9694e3158e9fb3b117a22b2aef86fb65..e67b4f4aa35ae9c0fa31cca6defc7b385a87523b 100644
--- a/Source/web/RemoteFrameClientImpl.cpp
+++ b/Source/web/RemoteFrameClientImpl.cpp
@@ -26,6 +26,17 @@ RemoteFrameClientImpl::RemoteFrameClientImpl(WebRemoteFrameImpl* webFrame)
{
}
+PassOwnPtrWillBeRawPtr<RemoteFrameClientImpl> RemoteFrameClientImpl::create(WebRemoteFrameImpl* webFrame)
+{
+ return adoptPtrWillBeNoop(new RemoteFrameClientImpl(webFrame));
+}
+
+DEFINE_TRACE(RemoteFrameClientImpl)
+{
+ visitor->trace(m_webFrame);
+ RemoteFrameClient::trace(visitor);
+}
+
bool RemoteFrameClientImpl::inShadowTree() const
{
return m_webFrame->inShadowTree();
@@ -38,7 +49,7 @@ void RemoteFrameClientImpl::willBeDetached()
void RemoteFrameClientImpl::detached(FrameDetachType type)
{
// Alert the client that the frame is being detached.
- RefPtrWillBeRawPtr<WebRemoteFrameImpl> protector(m_webFrame);
+ RefPtrWillBeRawPtr<WebRemoteFrameImpl> protector(m_webFrame.get());
WebRemoteFrameClient* client = m_webFrame->client();
if (!client)
« no previous file with comments | « Source/web/RemoteFrameClientImpl.h ('k') | Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698