Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 862955d84e4996f73194c4e10a9299b4b4cf09b7..200337cfd2362be3eedfb2a156f4ea931886777a 100644
--- a/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp
@@ -438,7 +438,7 @@ TEST_F(ScriptRunnerTest, TasksWithDeadScriptRunner)
m_scriptRunner.release();
#if ENABLE(OILPAN)
- Heap::collectAllGarbage();
+ ThreadHeap::collectAllGarbage();
#endif
// m_scriptRunner is gone. We need to make sure that ScriptRunner::Task do not access dead object.

Powered by Google App Engine
This is Rietveld 408576698