Index: third_party/WebKit/Source/core/animation/AnimationTest.cpp |
diff --git a/third_party/WebKit/Source/core/animation/AnimationTest.cpp b/third_party/WebKit/Source/core/animation/AnimationTest.cpp |
index 85019438d3b07b60db7f3c8959068a18b714a20c..8fa8467300705bed247720daf99ea773c0db2961 100644 |
--- a/third_party/WebKit/Source/core/animation/AnimationTest.cpp |
+++ b/third_party/WebKit/Source/core/animation/AnimationTest.cpp |
@@ -737,7 +737,7 @@ TEST_F(AnimationAnimationTest, AttachedAnimations) |
timeline->serviceAnimations(TimingUpdateForAnimationFrame); |
EXPECT_EQ(1U, element->elementAnimations()->animations().find(animation)->value); |
- Heap::collectAllGarbage(); |
+ ThreadHeap::collectAllGarbage(); |
EXPECT_TRUE(element->elementAnimations()->animations().isEmpty()); |
} |