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

Unified Diff: Source/core/frame/RemoteFrame.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/RemoteFrame.cpp
diff --git a/Source/core/frame/RemoteFrame.cpp b/Source/core/frame/RemoteFrame.cpp
index 28bed4677ace03842aa993b97f019ae7b38d0d8c..a381dae0a829c5929d16a52c58044af1ba3fe94f 100644
--- a/Source/core/frame/RemoteFrame.cpp
+++ b/Source/core/frame/RemoteFrame.cpp
@@ -37,14 +37,20 @@ void RemoteFrame::detach()
m_host = nullptr;
}
-void RemoteFrame::setView(PassRefPtr<RemoteFrameView> view)
+void RemoteFrame::trace(Visitor* visitor)
+{
+ visitor->trace(m_view);
+ Frame::trace(visitor);
+}
+
+void RemoteFrame::setView(PassRefPtrWillBeRawPtr<RemoteFrameView> view)
{
m_view = view;
}
void RemoteFrame::createView()
{
- RefPtr<RemoteFrameView> view = RemoteFrameView::create(this);
+ RefPtrWillBeRawPtr<RemoteFrameView> view = RemoteFrameView::create(this);
setView(view);
if (ownerRenderer()) {

Powered by Google App Engine
This is Rietveld 408576698