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

Unified Diff: cc/layers/scrollbar_layer_unittest.cc

Issue 1999783003: cc : Initialize solid color scrollbar layer on main thread to 0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | cc/layers/solid_color_scrollbar_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/scrollbar_layer_unittest.cc
diff --git a/cc/layers/scrollbar_layer_unittest.cc b/cc/layers/scrollbar_layer_unittest.cc
index 22114c8b297e714db75c1e5a206148c5ed3cb2fd..91cae1b633df3acb1c87ed8c3b46f7a6e38d2c0d 100644
--- a/cc/layers/scrollbar_layer_unittest.cc
+++ b/cc/layers/scrollbar_layer_unittest.cc
@@ -547,7 +547,7 @@ TEST_F(ScrollbarLayerTest, ScrollbarLayerOpacity) {
layer_tree_impl = host_impl->active_tree();
node = layer_tree_impl->property_trees()->effect_tree.Node(
scrollbar_layer->effect_tree_index());
- EXPECT_EQ(node->data.opacity, 1.f);
+ EXPECT_EQ(node->data.opacity, 0.f);
jaydasika 2016/05/20 22:46:33 This tests that 0 opacity gets pushed onto the act
}
class ScrollbarLayerSolidColorThumbTest : public testing::Test {
« no previous file with comments | « no previous file | cc/layers/solid_color_scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698