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

Unified Diff: third_party/WebKit/public/platform/WebThread.h

Issue 2552883004: Deprecate WebThread::getWebTaskRunner. (Closed)
Patch Set: Deprecate WebThread::getWebTaskRunner Created 4 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebThread.h
diff --git a/third_party/WebKit/public/platform/WebThread.h b/third_party/WebKit/public/platform/WebThread.h
index 0fc11bf1ebaa735ca6a2709af062e7cb0ec65594..3e61cf23da87d19e93206d743dfb39da5d3951f8 100644
--- a/third_party/WebKit/public/platform/WebThread.h
+++ b/third_party/WebKit/public/platform/WebThread.h
@@ -65,8 +65,12 @@ class BLINK_PLATFORM_EXPORT WebThread {
virtual void didProcessTask() = 0;
};
- // Returns a WebTaskRunner bound to the underlying scheduler's default task
- // queue.
+ // DEPRECATED: Returns a WebTaskRunner bound to the underlying scheduler's
+ // default task queue.
+ //
+ // Default scheduler task queue does not give scheduler enough freedom to
+ // manage task priorities and should not be used.
+ // Use TaskRunnerHelper::get instead (crbug.com/624696).
virtual WebTaskRunner* getWebTaskRunner() { return nullptr; }
base::SingleThreadTaskRunner* getSingleThreadTaskRunner();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698