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

Unified Diff: Source/core/workers/WorkerThreadTest.cpp

Issue 1312583007: Introduce WorkerThread::willShutdown() Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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: Source/core/workers/WorkerThreadTest.cpp
diff --git a/Source/core/workers/WorkerThreadTest.cpp b/Source/core/workers/WorkerThreadTest.cpp
index 9a88e0188365934c96c042624e118e821befa4de..dfed5670dc2b676c174c5d61dd63bcbef2ca605d 100644
--- a/Source/core/workers/WorkerThreadTest.cpp
+++ b/Source/core/workers/WorkerThreadTest.cpp
@@ -111,11 +111,11 @@ public:
{
return *m_thread;
}
- void willDestroyIsolate() override
+ void willShutdown() override
{
v8::Isolate::GetCurrent()->RequestGarbageCollectionForTesting(v8::Isolate::kFullGarbageCollection);
Heap::collectAllGarbage();
- WorkerThread::willDestroyIsolate();
+ WorkerThread::willShutdown();
}
MOCK_METHOD1(doIdleGc, bool(double deadlineSeconds));
« no previous file with comments | « Source/core/workers/WorkerThread.cpp ('k') | Source/modules/compositorworker/CompositorWorkerManagerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698