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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.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/platform/scroll/ScrollbarThemeAura.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h
index 64b641c07fd36f0e37a10be9041dc2dc036a0ac6..b5ddd4fe6a8ed457e5b037ba6ddac70f950ff62a 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h
@@ -40,11 +40,11 @@ public:
int scrollbarThickness(ScrollbarControlSize) override;
protected:
- void paintTrackPiece(GraphicsContext*, const ScrollbarThemeClient*, const IntRect&, ScrollbarPart) override;
- void paintButton(GraphicsContext*, const ScrollbarThemeClient*, const IntRect&, ScrollbarPart) override;
- void paintThumb(GraphicsContext*, const ScrollbarThemeClient*, const IntRect&) override;
- IntSize buttonSize(const ScrollbarThemeClient*) override;
- int minimumThumbLength(const ScrollbarThemeClient*) override;
+ void paintTrackPiece(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&, ScrollbarPart) override;
+ void paintButton(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&, ScrollbarPart) override;
+ void paintThumb(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&) override;
+ IntSize buttonSize(const ScrollbarThemeClient&) override;
+ int minimumThumbLength(const ScrollbarThemeClient&) override;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698