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 01047f0a708620de8978a1508b864f4050c4edee..38565aae5c5587b159a9db86c64219662cd4d904 100644 |
--- a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp |
@@ -437,9 +437,7 @@ TEST_F(ScriptRunnerTest, TasksWithDeadScriptRunner) |
m_scriptRunner.release(); |
-#if ENABLE(OILPAN) |
Heap::collectAllGarbage(); |
-#endif |
// m_scriptRunner is gone. We need to make sure that ScriptRunner::Task do not access dead object. |
EXPECT_CALL(*scriptLoader1, execute()).Times(0); |