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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h

Issue 2045963003: WebScrollbarThemeClientImpl should not be DisplayItemClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/platform/scroll/ScrollbarThemeMock.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h
index 759c8073cfbc10b5343ccd952e4f9f9323387b00..9b714e2c1280a11cb17477c51407910554dccdeb 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h
@@ -44,8 +44,8 @@ protected:
IntRect forwardButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool /*painting*/ = false) override { return IntRect(); }
IntRect trackRect(const ScrollbarThemeClient&, bool painting = false) override;
- void paintTrackBackground(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&) override;
- void paintThumb(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&) override;
+ void paintTrackBackground(GraphicsContext&, const Scrollbar&, const IntRect&) override;
+ void paintThumb(GraphicsContext&, const Scrollbar&, const IntRect&) override;
private:
bool isMockTheme() const final { return true; }

Powered by Google App Engine
This is Rietveld 408576698