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

Unified Diff: storage/browser/quota/quota_manager_proxy.cc

Issue 2890143004: Rename TaskRunner::RunsTasksOnCurrentThread() in //storage (Closed)
Patch Set: for Requirements Created 3 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 | « storage/browser/fileapi/timed_task_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/quota/quota_manager_proxy.cc
diff --git a/storage/browser/quota/quota_manager_proxy.cc b/storage/browser/quota/quota_manager_proxy.cc
index b67cfb9ce058742b58b5d8527d9ee28b9327aa85..6f8b15f2adfe1631ee0df6f9bbf03c3d68d53cd1 100644
--- a/storage/browser/quota/quota_manager_proxy.cc
+++ b/storage/browser/quota/quota_manager_proxy.cc
@@ -24,7 +24,7 @@ void DidGetUsageAndQuota(
QuotaStatusCode status,
int64_t usage,
int64_t quota) {
- if (!original_task_runner->RunsTasksOnCurrentThread()) {
+ if (!original_task_runner->RunsTasksInCurrentSequence()) {
original_task_runner->PostTask(
FROM_HERE, base::Bind(&DidGetUsageAndQuota,
base::RetainedRef(original_task_runner), callback,
« no previous file with comments | « storage/browser/fileapi/timed_task_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698