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

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

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.h
diff --git a/Source/core/frame/RemoteFrameView.h b/Source/core/frame/RemoteFrameView.h
index ecce68ad11f96c4dce692c9b5cf37d8396051de6..ebe2231e2a4306aa6bc5ab99f01e2d00fa2dae47 100644
--- a/Source/core/frame/RemoteFrameView.h
+++ b/Source/core/frame/RemoteFrameView.h
@@ -13,9 +13,9 @@ namespace blink {
class RemoteFrame;
-class RemoteFrameView : public Widget {
+class RemoteFrameView FINAL : public Widget {
haraken 2014/09/29 14:16:36 Nit: FINAL => final (according to the new coding s
public:
- static PassRefPtr<RemoteFrameView> create(RemoteFrame*);
+ static PassRefPtrWillBeRawPtr<RemoteFrameView> create(RemoteFrame*);
virtual ~RemoteFrameView();
@@ -34,13 +34,15 @@ public:
virtual void setFrameRect(const IntRect&) OVERRIDE;
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
explicit RemoteFrameView(RemoteFrame*);
- // The RefPtrWillBePersistent-cycle between RemoteFrame and its RemoteFrameView
- // is broken in the same manner as FrameView::m_frame and LocalFrame::m_view is.
- // See the FrameView::m_frame comment.
- RefPtrWillBePersistent<RemoteFrame> m_remoteFrame;
+ // The RefPtr cycle between RemoteFrame and its RemoteFrameView is
+ // broken in the same manner as FrameView::m_frame and
+ // LocalFrame::m_view is. See the FrameView::m_frame comment.
+ RefPtrWillBeMember<RemoteFrame> m_remoteFrame;
};
DEFINE_TYPE_CASTS(RemoteFrameView, Widget, widget, widget->isRemoteFrameView(), widget.isRemoteFrameView());

Powered by Google App Engine
This is Rietveld 408576698