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

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: 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
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..c5491f88a8a1cb7a5db03a0d9170f1d6b1c5e82e 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,8 +192,8 @@ void TestAnimationDelegate::NotifyAnimationFinished(
}
AnimationTimelinesTest::AnimationTimelinesTest()
- : client_(ThreadInstance::MAIN),
- client_impl_(ThreadInstance::IMPL),
+ : client_(),
vmpstr 2015/07/06 20:00:41 nit: You can remove these two lines now.
mlamouri (slow - plz ping) 2015/07/06 20:10:55 Done.
+ client_impl_(),
timeline_id_(AnimationIdProvider::NextTimelineId()),
player_id_(AnimationIdProvider::NextPlayerId()),
layer_id_(1) {

Powered by Google App Engine
This is Rietveld 408576698