| Index: cc/animation/animation_timeline_unittest.cc
|
| diff --git a/cc/animation/animation_timeline_unittest.cc b/cc/animation/animation_timeline_unittest.cc
|
| index a4b66201801d1bb4a37077415560d860ac555382..3b0bc5ab7301b923b71f7d2e20e64c296af37982 100644
|
| --- a/cc/animation/animation_timeline_unittest.cc
|
| +++ b/cc/animation/animation_timeline_unittest.cc
|
| @@ -15,8 +15,9 @@ namespace cc {
|
| namespace {
|
|
|
| TEST(AnimationTimelineTest, SyncPlayersAttachDetach) {
|
| - scoped_ptr<AnimationHost> host(AnimationHost::Create());
|
| - scoped_ptr<AnimationHost> host_impl(AnimationHost::Create());
|
| + scoped_ptr<AnimationHost> host(AnimationHost::Create(ThreadInstance::MAIN));
|
| + scoped_ptr<AnimationHost> host_impl(
|
| + AnimationHost::Create(ThreadInstance::IMPL));
|
|
|
| const int timeline_id = AnimationIdProvider::NextTimelineId();
|
| const int player_id = AnimationIdProvider::NextPlayerId();
|
| @@ -59,8 +60,9 @@ TEST(AnimationTimelineTest, SyncPlayersAttachDetach) {
|
| }
|
|
|
| TEST(AnimationTimelineTest, ClearPlayers) {
|
| - scoped_ptr<AnimationHost> host(AnimationHost::Create());
|
| - scoped_ptr<AnimationHost> host_impl(AnimationHost::Create());
|
| + scoped_ptr<AnimationHost> host(AnimationHost::Create(ThreadInstance::MAIN));
|
| + scoped_ptr<AnimationHost> host_impl(
|
| + AnimationHost::Create(ThreadInstance::IMPL));
|
|
|
| const int timeline_id = AnimationIdProvider::NextTimelineId();
|
| const int player_id1 = AnimationIdProvider::NextPlayerId();
|
|
|