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

Unified Diff: third_party/WebKit/Source/platform/WebTaskRunner.h

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: remove RunsTasksOnCurrentThread() overrided. Created 3 years, 8 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/platform/WebTaskRunner.h
diff --git a/third_party/WebKit/Source/platform/WebTaskRunner.h b/third_party/WebKit/Source/platform/WebTaskRunner.h
index 0379899b186e192c5be66de3c3d9a5a623eeb37e..b4add79fb3d121513fc49ca53cf681bdb51513a6 100644
--- a/third_party/WebKit/Source/platform/WebTaskRunner.h
+++ b/third_party/WebKit/Source/platform/WebTaskRunner.h
@@ -67,7 +67,8 @@ class BLINK_PLATFORM_EXPORT WebTaskRunner
// Returns true if the current thread is a thread on which a task may be run.
gab 2017/04/18 15:00:33 Update interface comment.
// Can be called from any thread.
- virtual bool RunsTasksOnCurrentThread() = 0;
+ bool RunsTasksOnCurrentThread();
+ virtual bool RunsTasksInCurrentSequence() = 0;
// ---

Powered by Google App Engine
This is Rietveld 408576698