Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp |
index 6d213bed316a255435be846e8e016c116a4cfec2..313a21e6f2ff071a450f4e00f4daf53da268e679 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp |
@@ -319,8 +319,8 @@ void ScrollbarThemeAura::paintButton(GraphicsContext& gc, |
if (!params.shouldPaint) |
return; |
DrawingRecorder recorder(gc, scrollbar, displayItemType, rect); |
- Platform::current()->themeEngine()->paint(gc.canvas(), params.part, |
- params.state, WebRect(rect), 0); |
+ Platform::current()->themeEngine()->paint( |
+ gc.canvas(), params.part, params.state, WebRect(rect), nullptr); |
} |
void ScrollbarThemeAura::paintThumb(GraphicsContext& gc, |
@@ -340,11 +340,12 @@ void ScrollbarThemeAura::paintThumb(GraphicsContext& gc, |
state = WebThemeEngine::StateHover; |
else |
state = WebThemeEngine::StateNormal; |
+ |
Platform::current()->themeEngine()->paint( |
canvas, scrollbar.orientation() == HorizontalScrollbar |
? WebThemeEngine::PartScrollbarHorizontalThumb |
: WebThemeEngine::PartScrollbarVerticalThumb, |
- state, WebRect(rect), 0); |
+ state, WebRect(rect), nullptr); |
} |
bool ScrollbarThemeAura::shouldRepaintAllPartsOnInvalidation() const { |