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

Unified Diff: cc/trees/tree_synchronizer_unittest.cc

Issue 2018833002: cc : Delete LayerImpl::opacity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
Index: cc/trees/tree_synchronizer_unittest.cc
diff --git a/cc/trees/tree_synchronizer_unittest.cc b/cc/trees/tree_synchronizer_unittest.cc
index b9c1dce0cc464f0fe33e36b8943eecec94ac96d8..32add7dcacd836132fc1072bc034b95650b35d98 100644
--- a/cc/trees/tree_synchronizer_unittest.cc
+++ b/cc/trees/tree_synchronizer_unittest.cc
@@ -287,9 +287,6 @@ TEST_F(TreeSynchronizerTest, SyncSimpleTreeAndProperties) {
gfx::PointF root_position = gfx::PointF(2.3f, 7.4f);
layer_tree_root->SetPosition(root_position);
- float first_child_opacity = 0.25f;
- layer_tree_root->children()[0]->SetOpacity(first_child_opacity);
-
gfx::Size second_child_bounds = gfx::Size(25, 53);
layer_tree_root->children()[1]->SetBounds(second_child_bounds);
layer_tree_root->children()[1]->SavePaintProperties();
@@ -309,9 +306,6 @@ TEST_F(TreeSynchronizerTest, SyncSimpleTreeAndProperties) {
EXPECT_EQ(root_position.x(), root_layer_impl_position.x());
EXPECT_EQ(root_position.y(), root_layer_impl_position.y());
- EXPECT_EQ(first_child_opacity,
- layer_impl_tree_root->children()[0]->opacity());
-
gfx::Size second_layer_impl_child_bounds =
layer_impl_tree_root->children()[1]->bounds();
EXPECT_EQ(second_child_bounds.width(),
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | third_party/WebKit/Source/platform/graphics/CompositorMutableState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698