Index: Source/core/frame/FrameView.h |
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
index 6249b2d8f771a320c6c7d6312cc1093272c836de..6cb29e3d551424bc4f198fac7e3c6be5b1ac8ac4 100644 |
--- a/Source/core/frame/FrameView.h |
+++ b/Source/core/frame/FrameView.h |
@@ -57,6 +57,7 @@ class RenderWidget; |
typedef unsigned long long DOMTimeStamp; |
+// FIXME: Oilpan: move FrameView (or ScrollView) to the heap. |
class FrameView FINAL : public ScrollView { |
public: |
friend class RenderView; |
@@ -418,7 +419,9 @@ private: |
// FIXME: These are just "children" of the FrameView and should be RefPtr<Widget> instead. |
WillBePersistentHeapHashSet<RefPtrWillBeMember<RenderWidget> > m_widgets; |
- RefPtr<LocalFrame> m_frame; |
+ // FIXME: Oilpan: the persistent back reference looks too strong, but it |
+ // 'emulates' the RefPtr-cycle that is kept between the two objects non-Oilpan. |
+ RefPtrWillBePersistent<LocalFrame> m_frame; |
bool m_doFullPaintInvalidation; |