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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp

Issue 2763373002: Overlay scrollbars flush with window edge (Closed)
Patch Set: bokan comments addressed 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/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 30ba2b9554699d95115ee07d6d3ed8f1506b2dd7..b9d0e5de433565fbcefa360e2760cb64a9ab2ec2 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.cpp
@@ -204,6 +204,8 @@ void ScrollbarThemeOverlay::paintThumb(GraphicsContext& context,
params.scrollbarThumb.scrollbarTheme =
static_cast<WebScrollbarOverlayColorTheme>(
scrollbar.getScrollbarOverlayColorTheme());
+ params.scrollbarThumb.isLeftVerticalScrollbar =
+ scrollbar.isLeftSideVerticalScrollbar();
Platform::current()->themeEngine()->paint(canvas, part, state, WebRect(rect),
&params);

Powered by Google App Engine
This is Rietveld 408576698