| Index: third_party/WebKit/Source/core/animation/AnimationStackTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/AnimationStackTest.cpp b/third_party/WebKit/Source/core/animation/AnimationStackTest.cpp
|
| index 58cd4cb461bd9ccfda72e9708851fb2200f85704..ab681c87312596abd083e9d3e197d4d04d865e72 100644
|
| --- a/third_party/WebKit/Source/core/animation/AnimationStackTest.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/AnimationStackTest.cpp
|
| @@ -143,28 +143,28 @@
|
| ActiveInterpolationsMap interpolations;
|
|
|
| updateTimeline(11);
|
| - ThreadState::current()-> collectAllGarbage();
|
| + ThreadHeap::collectAllGarbage();
|
| interpolations = AnimationStack::activeInterpolations(&element->elementAnimations()->animationStack(), nullptr, nullptr, KeyframeEffect::DefaultPriority);
|
| EXPECT_EQ(1u, interpolations.size());
|
| EXPECT_TRUE(interpolationValue(interpolations, CSSPropertyFontSize)->equals(AnimatableDouble::create(3).get()));
|
| EXPECT_EQ(3u, sampledEffectCount());
|
|
|
| updateTimeline(13);
|
| - ThreadState::current()-> collectAllGarbage();
|
| + ThreadHeap::collectAllGarbage();
|
| interpolations = AnimationStack::activeInterpolations(&element->elementAnimations()->animationStack(), nullptr, nullptr, KeyframeEffect::DefaultPriority);
|
| EXPECT_EQ(1u, interpolations.size());
|
| EXPECT_TRUE(interpolationValue(interpolations, CSSPropertyFontSize)->equals(AnimatableDouble::create(3).get()));
|
| EXPECT_EQ(3u, sampledEffectCount());
|
|
|
| updateTimeline(15);
|
| - ThreadState::current()-> collectAllGarbage();
|
| + ThreadHeap::collectAllGarbage();
|
| interpolations = AnimationStack::activeInterpolations(&element->elementAnimations()->animationStack(), nullptr, nullptr, KeyframeEffect::DefaultPriority);
|
| EXPECT_EQ(1u, interpolations.size());
|
| EXPECT_TRUE(interpolationValue(interpolations, CSSPropertyFontSize)->equals(AnimatableDouble::create(3).get()));
|
| EXPECT_EQ(2u, sampledEffectCount());
|
|
|
| updateTimeline(17);
|
| - ThreadState::current()-> collectAllGarbage();
|
| + ThreadHeap::collectAllGarbage();
|
| interpolations = AnimationStack::activeInterpolations(&element->elementAnimations()->animationStack(), nullptr, nullptr, KeyframeEffect::DefaultPriority);
|
| EXPECT_EQ(1u, interpolations.size());
|
| EXPECT_TRUE(interpolationValue(interpolations, CSSPropertyFontSize)->equals(AnimatableDouble::create(3).get()));
|
|
|