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 38565aae5c5587b159a9db86c64219662cd4d904..003ba1fef026cec7a13498d13af9db8fb3d2662a 100644 |
--- a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
@@ -437,7 +437,7 @@ TEST_F(ScriptRunnerTest, TasksWithDeadScriptRunner) |
m_scriptRunner.release(); |
- Heap::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); |