Index: third_party/WebKit/Source/core/paint/FramePainter.h |
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.h b/third_party/WebKit/Source/core/paint/FramePainter.h |
index 6ef01b8052fe4032861998e8255a0091e20dd14e..f1b91f825f817d36f1c2de2f51ba98eb764f061f 100644 |
--- a/third_party/WebKit/Source/core/paint/FramePainter.h |
+++ b/third_party/WebKit/Source/core/paint/FramePainter.h |
@@ -19,7 +19,7 @@ class FramePainter { |
STACK_ALLOCATED(); |
WTF_MAKE_NONCOPYABLE(FramePainter); |
public: |
- explicit FramePainter(const FrameView& frameView) : m_frameView(frameView) { } |
+ explicit FramePainter(const FrameView& frameView) : m_frameView(&frameView) { } |
void paint(GraphicsContext*, const GlobalPaintFlags, const IntRect&); |
void paintScrollbars(GraphicsContext*, const IntRect&); |
@@ -29,7 +29,9 @@ public: |
private: |
void paintScrollbar(GraphicsContext*, Scrollbar*, const IntRect&); |
- const FrameView& m_frameView; |
+ const FrameView& frameView(); |
+ |
+ RawPtrWillBeMember<const FrameView> m_frameView; |
static bool s_inPaintContents; |
}; |