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

Unified Diff: cc/test/layer_tree_test_common.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/test/layer_tree_test_common.cc
diff --git a/cc/test/layer_tree_test_common.cc b/cc/test/layer_tree_test_common.cc
index e9be315ff0d790709fe6ecfbe2af67aacb63e4c6..eb55fda11c62107b20313b9efeb1cc2e4e010d29 100644
--- a/cc/test/layer_tree_test_common.cc
+++ b/cc/test/layer_tree_test_common.cc
@@ -427,7 +427,7 @@ void ThreadedTest::dispatchAddInstantAnimation()
DCHECK(!proxy() || proxy()->IsMainThread());
if (m_layerTreeHost.get() && m_layerTreeHost->root_layer())
- addOpacityTransitionToLayer(*m_layerTreeHost->root_layer(), 0, 0, 0.5, false);
+ AddOpacityTransitionToLayer(m_layerTreeHost->root_layer(), 0, 0, 0.5, false);
}
void ThreadedTest::dispatchAddAnimation(Layer* layerToReceiveAnimation)
@@ -435,7 +435,7 @@ void ThreadedTest::dispatchAddAnimation(Layer* layerToReceiveAnimation)
DCHECK(!proxy() || proxy()->IsMainThread());
if (layerToReceiveAnimation)
- addOpacityTransitionToLayer(*layerToReceiveAnimation, 10, 0, 0.5, true);
+ AddOpacityTransitionToLayer(layerToReceiveAnimation, 10, 0, 0.5, true);
}
void ThreadedTest::dispatchSetNeedsCommit()

Powered by Google App Engine
This is Rietveld 408576698