Index: third_party/WebKit/Source/core/paint/ScrollbarPainter.h |
diff --git a/third_party/WebKit/Source/core/paint/ScrollbarPainter.h b/third_party/WebKit/Source/core/paint/ScrollbarPainter.h |
index db12fc827ef494446503eaf4779d2d7aff2c5284..e0e619a9c681f0c0614ddaf8bd1fbadd710f5172 100644 |
--- a/third_party/WebKit/Source/core/paint/ScrollbarPainter.h |
+++ b/third_party/WebKit/Source/core/paint/ScrollbarPainter.h |
@@ -21,13 +21,13 @@ class ScrollbarPainter { |
STACK_ALLOCATED(); |
WTF_MAKE_NONCOPYABLE(ScrollbarPainter); |
public: |
- explicit ScrollbarPainter(const LayoutScrollbar& layoutScrollbar) : m_layoutScrollbar(layoutScrollbar) { } |
+ explicit ScrollbarPainter(const LayoutScrollbar& layoutScrollbar) : m_layoutScrollbar(&layoutScrollbar) { } |
void paintPart(GraphicsContext*, ScrollbarPart, const IntRect&); |
static void paintIntoRect(const LayoutScrollbarPart&, GraphicsContext*, const LayoutPoint& paintOffset, const LayoutRect&); |
private: |
- const LayoutScrollbar& m_layoutScrollbar; |
+ RawPtrWillBeMember<const LayoutScrollbar> m_layoutScrollbar; |
}; |
} // namespace blink |