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

Unified Diff: Source/core/workers/WorkerThread.h

Issue 1128093003: Revert of Schedule garbage collection on worker threads using idle tasks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerThread.h
diff --git a/Source/core/workers/WorkerThread.h b/Source/core/workers/WorkerThread.h
index 0e16eb908d0083bc6c3ff695126611973a94876a..e6d67fa01cdacbe3a8d26eee247a1bc54b487237 100644
--- a/Source/core/workers/WorkerThread.h
+++ b/Source/core/workers/WorkerThread.h
@@ -128,12 +128,8 @@
virtual void destroyIsolate();
virtual void terminateV8Execution();
- // This is protected virtual for testing.
- virtual bool doIdleGc(double deadlineSeconds);
-
private:
friend class WorkerSharedTimer;
- friend class WorkerThreadIdleTask;
friend class WorkerMicrotaskRunner;
void stopInShutdownSequence();
@@ -141,7 +137,7 @@
void initialize();
void shutdown();
- void performIdleWork(double deadlineSeconds);
+ void idleHandler();
void postDelayedTask(PassOwnPtr<ExecutionContextTask>, long long delayMs);
void postDelayedTask(const WebTraceLocation&, PassOwnPtr<ExecutionContextTask>, long long delayMs);
@@ -152,7 +148,6 @@
RefPtr<WorkerLoaderProxy> m_workerLoaderProxy;
WorkerReportingProxy& m_workerReportingProxy;
- RawPtr<WebScheduler> m_webScheduler; // Not owned.
RefPtrWillBePersistent<WorkerInspectorController> m_workerInspectorController;
Mutex m_workerInspectorControllerMutex;
« no previous file with comments | « no previous file | Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698