| Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
| index ad5c05a2c799a48b5038eff6832190f30d7afc42..457b2c23fc2a0dc23d92fe41f0b8ffd81fc3fa88 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
| @@ -436,7 +436,7 @@ void ScrollableArea::RecalculateScrollbarOverlayColorTheme(
|
| // heuristic.
|
| double hue, saturation, lightness;
|
| background_color.GetHSL(hue, saturation, lightness);
|
| - if (lightness <= .5)
|
| + if (lightness <= .5 && background_color.Alpha())
|
| overlay_theme = kScrollbarOverlayColorThemeLight;
|
|
|
| if (old_overlay_theme != overlay_theme)
|
|
|