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

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

Issue 563203002: [Blink-WebWorkers] WorkerSharedTimer cancels extra delayed tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed hash set, which was used to store previous tasks. Now using single ptr. Created 6 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
« no previous file with comments | « no previous file | Source/core/workers/WorkerThread.cpp » ('j') | public/platform/WebThread.h » ('J')
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 082d437ccfb29575addd1d05acacf5d2f48798b7..8caa6fb9c90565d7045ff2be622cfefecb98e24f 100644
--- a/Source/core/workers/WorkerThread.h
+++ b/Source/core/workers/WorkerThread.h
@@ -117,6 +117,7 @@ namespace blink {
void cleanup();
void idleHandler();
void postDelayedTask(PassOwnPtr<ExecutionContextTask>, long long delayMs);
+ void postCancellableDelayedTask(WorkerThreadTask* , long long delayMs);
bool m_terminated;
OwnPtr<WorkerSharedTimer> m_sharedTimer;
« no previous file with comments | « no previous file | Source/core/workers/WorkerThread.cpp » ('j') | public/platform/WebThread.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698