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

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

Issue 2741223002: Use correct ScrollbarTheme to paintScrollCorner (Closed)
Patch Set: Created 3 years, 9 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/FramePainter.h
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.h b/third_party/WebKit/Source/core/paint/FramePainter.h
index 7b0abcb2c78d32b12bdcc2dd22225d99144f513b..804eb650d1b2035cbc3990ccfb73010b479e65a7 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.h
+++ b/third_party/WebKit/Source/core/paint/FramePainter.h
@@ -15,6 +15,7 @@ class FrameView;
class GraphicsContext;
class IntRect;
class Scrollbar;
+class ScrollbarTheme;
class FramePainter {
STACK_ALLOCATED();
@@ -26,7 +27,9 @@ class FramePainter {
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 paintScrollCorner(GraphicsContext&,
+ ScrollbarTheme&,
+ const IntRect& cornerRect);
private:
void paintScrollbar(GraphicsContext&, Scrollbar&, const IntRect&);

Powered by Google App Engine
This is Rietveld 408576698