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

Unified Diff: cc/layers/layer_unittest.cc

Issue 1918593002: cc : Stop pushing properties not used by LayerImpl to LayerImpl (3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « cc/layers/layer_impl_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_unittest.cc
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc
index e15befe3767f5116353ccd6ae95100b22477cd60..a7105ff8e807cdc26e53e04a462d2fa0292dee59 100644
--- a/cc/layers/layer_unittest.cc
+++ b/cc/layers/layer_unittest.cc
@@ -1799,7 +1799,7 @@ TEST_F(LayerTest, CheckTransformIsInvertible) {
layer->PushPropertiesTo(impl_layer.get());
EXPECT_FALSE(layer->transform_is_invertible());
- EXPECT_FALSE(impl_layer->transform_is_invertible());
+ EXPECT_FALSE(impl_layer->transform().IsInvertible());
gfx::Transform rotation_transform;
rotation_transform.RotateAboutZAxis(-45.0);
@@ -1807,7 +1807,7 @@ TEST_F(LayerTest, CheckTransformIsInvertible) {
layer->SetTransform(rotation_transform);
layer->PushPropertiesTo(impl_layer.get());
EXPECT_TRUE(layer->transform_is_invertible());
- EXPECT_TRUE(impl_layer->transform_is_invertible());
+ EXPECT_TRUE(impl_layer->transform().IsInvertible());
Mock::VerifyAndClearExpectations(layer_tree_host_.get());
}
@@ -1830,7 +1830,7 @@ TEST_F(LayerTest, TransformIsInvertibleAnimation) {
layer->PushPropertiesTo(impl_layer.get());
EXPECT_FALSE(layer->transform_is_invertible());
- EXPECT_FALSE(impl_layer->transform_is_invertible());
+ EXPECT_FALSE(impl_layer->transform().IsInvertible());
gfx::Transform identity_transform;
@@ -1839,7 +1839,7 @@ TEST_F(LayerTest, TransformIsInvertibleAnimation) {
layer->OnTransformAnimated(singular_transform);
layer->PushPropertiesTo(impl_layer.get());
EXPECT_FALSE(layer->transform_is_invertible());
- EXPECT_FALSE(impl_layer->transform_is_invertible());
+ EXPECT_FALSE(impl_layer->transform().IsInvertible());
Mock::VerifyAndClearExpectations(layer_tree_host_.get());
}
« no previous file with comments | « cc/layers/layer_impl_unittest.cc ('k') | cc/test/fake_layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698