Index: third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
index 2b932381d0e3aba65cdb7016ea67890e8c0b0a02..3ab28ef9531f4a7b2e780c1a2d98b80f403f8d9f 100644 |
--- a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
@@ -437,7 +437,7 @@ |
m_scriptRunner.release(); |
- ThreadState::current()-> collectAllGarbage(); |
+ ThreadHeap::collectAllGarbage(); |
// m_scriptRunner is gone. We need to make sure that ScriptRunner::Task do not access dead object. |
EXPECT_CALL(*scriptLoader1, execute()).Times(0); |