Index: Source/core/paint/FramePainter.h |
diff --git a/Source/core/paint/FramePainter.h b/Source/core/paint/FramePainter.h |
index 44e1f8135f7c03fe2b1161845a5739780e276708..9647b5cb5f2e6ab3f9b2467a78d8e90d89a9e965 100644 |
--- a/Source/core/paint/FramePainter.h |
+++ b/Source/core/paint/FramePainter.h |
@@ -6,6 +6,7 @@ |
#define FramePainter_h |
#include "core/paint/PaintPhase.h" |
+#include "platform/heap/Handle.h" |
namespace blink { |
@@ -15,8 +16,10 @@ class IntRect; |
class Scrollbar; |
class FramePainter { |
+ STACK_ALLOCATED(); |
+ WTF_MAKE_NONCOPYABLE(FramePainter); |
public: |
- FramePainter(FrameView& frameView) : m_frameView(frameView) { } |
+ FramePainter(FrameView& frameView) : m_frameView(&frameView) { } |
haraken
2015/08/12 05:25:54
Add explicit.
Yuta Kitamura
2015/08/12 05:38:27
Done.
|
void paint(GraphicsContext*, const GlobalPaintFlags, const IntRect&); |
void paintScrollbars(GraphicsContext*, const IntRect&); |
@@ -26,7 +29,7 @@ public: |
private: |
void paintScrollbar(GraphicsContext*, Scrollbar*, const IntRect&); |
- FrameView& m_frameView; |
+ RawPtrWillBeMember<FrameView> m_frameView; |
static bool s_inPaintContents; |
}; |