Index: third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp |
index 9d1dbed31c74263905003e2c8a360a0a2a6e96d1..bdd1fc2fd01df497a0baf0b052c8a8a2624be5f2 100644 |
--- a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp |
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp |
@@ -1015,7 +1015,7 @@ |
element->setLayoutObject(nullptr); |
LayoutObjectProxy::dispose(layoutObject); |
- ThreadState::current()-> collectAllGarbage(); |
+ ThreadHeap::collectAllGarbage(); |
EXPECT_TRUE(element->elementAnimations()->animations().isEmpty()); |
} |