Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp |
index ed95ef9da96d7e9a04faeb27a7477c5350655248..8b3a3c2afe775d8e41f63fc28f4621170afb758e 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp |
@@ -162,8 +162,13 @@ void ScrollbarThemeOverlay::paintThumb(GraphicsContext& context, |
if (scrollbar.orientation() == VerticalScrollbar) |
part = WebThemeEngine::PartScrollbarVerticalThumb; |
+ blink::WebThemeEngine::ExtraParams params; |
+ params.scrollbarTheme = |
+ static_cast<WebThemeEngine::ScrollbarOverlayColorTheme>( |
+ scrollbar.getScrollbarOverlayColorTheme()); |
+ |
Platform::current()->themeEngine()->paint(canvas, part, state, WebRect(rect), |
- 0); |
+ ¶ms); |
} |
ScrollbarPart ScrollbarThemeOverlay::hitTest( |