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 |