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

Unified Diff: cc/animation/animation_host_unittest.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/animation/animation_host.cc ('k') | cc/animation/animation_timeline_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host_unittest.cc
diff --git a/cc/animation/animation_host_unittest.cc b/cc/animation/animation_host_unittest.cc
index 18d6c9f66f587de32a0c53ec68b3b7e98a826b57..8abbd8fb696024e5c92f515676ab71f4d1b039b1 100644
--- a/cc/animation/animation_host_unittest.cc
+++ b/cc/animation/animation_host_unittest.cc
@@ -17,9 +17,8 @@ namespace {
// animation_player_unittest.cc.
TEST(AnimationHostTest, SyncTimelinesAddRemove) {
- scoped_ptr<AnimationHost> host(AnimationHost::Create(ThreadInstance::MAIN));
- scoped_ptr<AnimationHost> host_impl(
- AnimationHost::Create(ThreadInstance::IMPL));
+ scoped_ptr<AnimationHost> host(AnimationHost::Create());
+ scoped_ptr<AnimationHost> host_impl(AnimationHost::Create());
const int timeline_id = AnimationIdProvider::NextTimelineId();
scoped_refptr<AnimationTimeline> timeline(
@@ -49,9 +48,8 @@ TEST(AnimationHostTest, SyncTimelinesAddRemove) {
}
TEST(AnimationHostTest, ImplOnlyTimeline) {
- scoped_ptr<AnimationHost> host(AnimationHost::Create(ThreadInstance::MAIN));
- scoped_ptr<AnimationHost> host_impl(
- AnimationHost::Create(ThreadInstance::IMPL));
+ scoped_ptr<AnimationHost> host(AnimationHost::Create());
+ scoped_ptr<AnimationHost> host_impl(AnimationHost::Create());
const int timeline_id1 = AnimationIdProvider::NextTimelineId();
const int timeline_id2 = AnimationIdProvider::NextTimelineId();
« no previous file with comments | « cc/animation/animation_host.cc ('k') | cc/animation/animation_timeline_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698