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

Unified Diff: cc/test/animation_timelines_test_common.cc

Issue 1222243005: Fix unused variables errors in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nacl_private_fields
Patch Set: review comments Created 5 years, 5 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.cc » ('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 ea9d0b00cd65295a9f537d8370af5b1b8e49bd0a..5789e870a4f8e2117aab13142eaa1a7466a5bf9d 100644
--- a/cc/test/animation_timelines_test_common.cc
+++ b/cc/test/animation_timelines_test_common.cc
@@ -35,9 +35,8 @@ void TestLayer::ClearMutatedProperties() {
mutated_properties_[i] = false;
}
-TestHostClient::TestHostClient(ThreadInstance thread_instance)
- : host_(AnimationHost::Create(thread_instance)),
- mutators_need_commit_(false) {
+TestHostClient::TestHostClient()
+ : host_(AnimationHost::Create()), mutators_need_commit_(false) {
host_->SetMutatorHostClient(this);
}
@@ -193,9 +192,7 @@ void TestAnimationDelegate::NotifyAnimationFinished(
}
AnimationTimelinesTest::AnimationTimelinesTest()
- : client_(ThreadInstance::MAIN),
- client_impl_(ThreadInstance::IMPL),
- timeline_id_(AnimationIdProvider::NextTimelineId()),
+ : timeline_id_(AnimationIdProvider::NextTimelineId()),
player_id_(AnimationIdProvider::NextPlayerId()),
layer_id_(1) {
host_ = client_.host();
« no previous file with comments | « cc/test/animation_timelines_test_common.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698