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

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

Issue 1511003003: Use refs for non-null GraphicsContext, Scrollbar, etc. in scrollbar related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarRemove
Patch Set: yet another mac fix Created 5 years 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/FramePainter.h
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.h b/third_party/WebKit/Source/core/paint/FramePainter.h
index 6dac65ab50676c8a14b068db8a32638cf6190722..d1500757e414789b59ea7cb5ddc6476a045a5c8f 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.h
+++ b/third_party/WebKit/Source/core/paint/FramePainter.h
@@ -22,13 +22,13 @@ class FramePainter {
public:
explicit FramePainter(const FrameView& frameView) : m_frameView(&frameView) { }
- void paint(GraphicsContext*, const GlobalPaintFlags, const CullRect&);
- void paintScrollbars(GraphicsContext*, const IntRect&);
- void paintContents(GraphicsContext*, const GlobalPaintFlags, const IntRect&);
- void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect);
+ void paint(GraphicsContext&, const GlobalPaintFlags, const CullRect&);
+ void paintScrollbars(GraphicsContext&, const IntRect&);
+ void paintContents(GraphicsContext&, const GlobalPaintFlags, const IntRect&);
+ void paintScrollCorner(GraphicsContext&, const IntRect& cornerRect);
private:
- void paintScrollbar(GraphicsContext*, Scrollbar*, const IntRect&);
+ void paintScrollbar(GraphicsContext&, Scrollbar&, const IntRect&);
const FrameView& frameView();
« no previous file with comments | « third_party/WebKit/Source/core/paint/BlockPainter.cpp ('k') | third_party/WebKit/Source/core/paint/FramePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698