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 1e7b7a112a5dd539f808c9d2a2fd40e218835e29..7646b684650fe2d5cbd006a4e17b6a33c3b8e5c4 100644 |
--- a/third_party/WebKit/Source/core/animation/AnimationTest.cpp |
+++ b/third_party/WebKit/Source/core/animation/AnimationTest.cpp |
@@ -743,7 +743,7 @@ |
timeline->serviceAnimations(TimingUpdateForAnimationFrame); |
EXPECT_EQ(1U, element->elementAnimations()->animations().find(animation)->value); |
- ThreadState::current()-> collectAllGarbage(); |
+ ThreadHeap::collectAllGarbage(); |
EXPECT_TRUE(element->elementAnimations()->animations().isEmpty()); |
} |