Index: Source/core/frame/RemoteFrame.cpp |
diff --git a/Source/core/frame/RemoteFrame.cpp b/Source/core/frame/RemoteFrame.cpp |
index b7129e2f0c48dd68581137ed2b712105ea220f2d..462db56955865e8d4f034b7a052624b369480ffb 100644 |
--- a/Source/core/frame/RemoteFrame.cpp |
+++ b/Source/core/frame/RemoteFrame.cpp |
@@ -43,14 +43,22 @@ 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) |
+{ |
+ // Oilpan: as RemoteFrameView performs no finalization actions, |
+ // no explicit dispose() of it needed here. (cf. FrameView::dispose().) |
m_view = view; |
} |
void RemoteFrame::createView() |
{ |
- RefPtr<RemoteFrameView> view = RemoteFrameView::create(this); |
+ RefPtrWillBeRawPtr<RemoteFrameView> view = RemoteFrameView::create(this); |
setView(view); |
if (ownerRenderer()) { |