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

Unified Diff: cc/test/animation_timelines_test_common.cc

Issue 1413003002: CC Animations: Fix AnimationHost mode integration with Property Trees. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: An attempt to fix weird EXPECT_EQ compilation errors. Created 5 years, 2 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/test/animation_timelines_test_common.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/animation_timelines_test_common.cc
diff --git a/cc/test/animation_timelines_test_common.cc b/cc/test/animation_timelines_test_common.cc
index 54056080e4efb65d0d01566daf61da462d2c2d8e..cce7d33a10a8282221a7d4f4bca0cb01b283b58a 100644
--- a/cc/test/animation_timelines_test_common.cc
+++ b/cc/test/animation_timelines_test_common.cc
@@ -63,6 +63,8 @@ void TestHostClient::SetMutatorsNeedCommit() {
mutators_need_commit_ = true;
}
+void TestHostClient::SetMutatorsNeedRebuildPropertyTrees() {}
+
void TestHostClient::SetLayerFilterMutated(int layer_id,
LayerTreeType tree_type,
const FilterOperations& filters) {
@@ -217,6 +219,11 @@ void AnimationTimelinesTest::SetUp() {
player_ = AnimationPlayer::Create(player_id_);
}
+void AnimationTimelinesTest::TearDown() {
+ host_impl_->ClearTimelines();
+ host_->ClearTimelines();
+}
+
void AnimationTimelinesTest::GetImplTimelineAndPlayerByID() {
timeline_impl_ = host_impl_->GetTimelineById(timeline_id_);
EXPECT_TRUE(timeline_impl_);
« no previous file with comments | « cc/test/animation_timelines_test_common.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698