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

Unified Diff: Source/core/frame/RemoteFrameView.cpp

Issue 603193005: Move the Widget hierarchy to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add ~Scrollbar assert 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/core/frame/RemoteFrameView.cpp
diff --git a/Source/core/frame/RemoteFrameView.cpp b/Source/core/frame/RemoteFrameView.cpp
index b26df31e163a386d90b1d8fa9a744165b44065df..c5cbe4e69dfbb8ebc5bc51dd2f8fd74fd499dd40 100644
--- a/Source/core/frame/RemoteFrameView.cpp
+++ b/Source/core/frame/RemoteFrameView.cpp
@@ -20,9 +20,9 @@ RemoteFrameView::~RemoteFrameView()
{
}
-PassRefPtr<RemoteFrameView> RemoteFrameView::create(RemoteFrame* remoteFrame)
+PassRefPtrWillBeRawPtr<RemoteFrameView> RemoteFrameView::create(RemoteFrame* remoteFrame)
{
- RefPtr<RemoteFrameView> view = adoptRef(new RemoteFrameView(remoteFrame));
+ RefPtrWillBeRawPtr<RemoteFrameView> view = adoptRefWillBeNoop(new RemoteFrameView(remoteFrame));
view->show();
return view.release();
}
@@ -56,4 +56,10 @@ void RemoteFrameView::frameRectsChanged()
// FIXME: Notify embedder via WebLocalFrameClient when that is possible.
}
+void RemoteFrameView::trace(Visitor* visitor)
+{
+ visitor->trace(m_remoteFrame);
+ Widget::trace(visitor);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698