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

Unified Diff: cc/animation/animation_timeline_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: 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/animation/animation_timeline_unittest.cc
diff --git a/cc/animation/animation_timeline_unittest.cc b/cc/animation/animation_timeline_unittest.cc
index 3b0bc5ab7301b923b71f7d2e20e64c296af37982..a4b66201801d1bb4a37077415560d860ac555382 100644
--- a/cc/animation/animation_timeline_unittest.cc
+++ b/cc/animation/animation_timeline_unittest.cc
@@ -15,9 +15,8 @@ namespace cc {
namespace {
TEST(AnimationTimelineTest, SyncPlayersAttachDetach) {
- 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();
const int player_id = AnimationIdProvider::NextPlayerId();
@@ -60,9 +59,8 @@ TEST(AnimationTimelineTest, SyncPlayersAttachDetach) {
}
TEST(AnimationTimelineTest, ClearPlayers) {
- 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();
const int player_id1 = AnimationIdProvider::NextPlayerId();

Powered by Google App Engine
This is Rietveld 408576698