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

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

Issue 2426793002: Aura overlay scrollbars adjust color for dark backgrounds (Closed)
Patch Set: update Created 4 years, 2 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/ScrollableAreaTest.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp
index 759147dc532f66dd07b6d13ced68dddcaa2780de..ab533019905bd9a8fca0ed53be58f30acfa73aa4 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp
@@ -227,10 +227,10 @@ TEST_F(ScrollableAreaTest, RecalculatesScrollbarOverlayIfBackgroundChanges) {
EXPECT_EQ(ScrollbarOverlayStyleDefault,
scrollableArea->getScrollbarOverlayStyle());
- scrollableArea->recalculateScrollbarOverlayStyle(Color(34, 85, 51));
+ scrollableArea->recalculateScrollbarOverlayStyle(Color(34, 85, 51), false);
EXPECT_EQ(ScrollbarOverlayStyleLight,
scrollableArea->getScrollbarOverlayStyle());
- scrollableArea->recalculateScrollbarOverlayStyle(Color(236, 143, 185));
+ scrollableArea->recalculateScrollbarOverlayStyle(Color(236, 143, 185), false);
EXPECT_EQ(ScrollbarOverlayStyleDefault,
scrollableArea->getScrollbarOverlayStyle());
}

Powered by Google App Engine
This is Rietveld 408576698