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 003ba1fef026cec7a13498d13af9db8fb3d2662a..38565aae5c5587b159a9db86c64219662cd4d904 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(); |
- ThreadHeap::collectAllGarbage(); |
+ Heap::collectAllGarbage(); |
// m_scriptRunner is gone. We need to make sure that ScriptRunner::Task do not access dead object. |
EXPECT_CALL(*scriptLoader1, execute()).Times(0); |