Index: third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp |
index 51a362264c8cbd117f48adef8c843c8db8df8def..d9b47bb2cbfc354ac84e0a73a6de78295d67b14d 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp |
@@ -29,7 +29,7 @@ protected: |
void TearDown() override |
{ |
- ThreadHeap::collectAllGarbage(); |
+ ThreadState::current()-> collectAllGarbage(); |
} |
Document& document() const { return m_dummyPageHolder->document(); } |