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

Unified Diff: third_party/WebKit/Source/core/paint/ScrollbarPainter.h

Issue 1370143007: Oilpan: fix build after r351868. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: 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
« no previous file with comments | « third_party/WebKit/Source/core/paint/FramePainter.cpp ('k') | third_party/WebKit/Source/core/paint/ScrollbarPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698