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

Unified Diff: cc/trees/occlusion_tracker_unittest.cc

Issue 12854010: cc: Chromify animation_test_common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed reviewer comments and drive-by also fixed nine patch layerImpl FIXMENAME Created 7 years, 9 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/occlusion_tracker_unittest.cc
diff --git a/cc/trees/occlusion_tracker_unittest.cc b/cc/trees/occlusion_tracker_unittest.cc
index 0ec71d13210321082112e7c04185f22eccca4c4b..12f92361d14eb596765e564087c2a10dbfbead22 100644
--- a/cc/trees/occlusion_tracker_unittest.cc
+++ b/cc/trees/occlusion_tracker_unittest.cc
@@ -1913,8 +1913,8 @@ protected:
typename Types::ContentLayerType* parent2 = this->createDrawingLayer(parent, this->identityMatrix, gfx::PointF(0, 0), gfx::Size(300, 300), false);
typename Types::ContentLayerType* topmost = this->createDrawingLayer(parent, this->identityMatrix, gfx::PointF(250, 0), gfx::Size(50, 300), true);
- addOpacityTransitionToController(*layer->layer_animation_controller(), 10, 0, 1, false);
- addOpacityTransitionToController(*surface->layer_animation_controller(), 10, 0, 1, false);
+ AddOpacityTransitionToController(layer->layer_animation_controller(), 10, 0, 1, false);
+ AddOpacityTransitionToController(surface->layer_animation_controller(), 10, 0, 1, false);
this->calcDrawEtc(parent);
EXPECT_TRUE(layer->draw_opacity_is_animating());
@@ -1978,8 +1978,8 @@ protected:
typename Types::ContentLayerType* parent2 = this->createDrawingLayer(parent, this->identityMatrix, gfx::PointF(0, 0), gfx::Size(300, 300), false);
typename Types::ContentLayerType* topmost = this->createDrawingLayer(parent, this->identityMatrix, gfx::PointF(250, 0), gfx::Size(50, 300), true);
- addOpacityTransitionToController(*layer->layer_animation_controller(), 10, 1, 0, false);
- addOpacityTransitionToController(*surface->layer_animation_controller(), 10, 1, 0, false);
+ AddOpacityTransitionToController(layer->layer_animation_controller(), 10, 1, 0, false);
+ AddOpacityTransitionToController(surface->layer_animation_controller(), 10, 1, 0, false);
this->calcDrawEtc(parent);
EXPECT_TRUE(layer->draw_opacity_is_animating());
@@ -2042,9 +2042,9 @@ protected:
typename Types::ContentLayerType* surfaceChild2 = this->createDrawingLayer(surface, this->identityMatrix, gfx::PointF(0, 0), gfx::Size(100, 300), true);
typename Types::ContentLayerType* surface2 = this->createDrawingSurface(parent, this->identityMatrix, gfx::PointF(0, 0), gfx::Size(50, 300), true);
- addAnimatedTransformToController(*layer->layer_animation_controller(), 10, 30, 0);
- addAnimatedTransformToController(*surface->layer_animation_controller(), 10, 30, 0);
- addAnimatedTransformToController(*surfaceChild->layer_animation_controller(), 10, 30, 0);
+ AddAnimatedTransformToController(layer->layer_animation_controller(), 10, 30, 0);
+ AddAnimatedTransformToController(surface->layer_animation_controller(), 10, 30, 0);
+ AddAnimatedTransformToController(surfaceChild->layer_animation_controller(), 10, 30, 0);
this->calcDrawEtc(parent);
EXPECT_TRUE(layer->draw_transform_is_animating());
« cc/test/animation_test_common.cc ('K') | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698