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

Unified Diff: chrome/browser/sync_file_system/drive_backend/callback_helper.h

Issue 2871303004: Rename TaskRunner::RunsTasksOnCurrentThread() in //chrome (Closed)
Patch Set: fixed build error 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
Index: chrome/browser/sync_file_system/drive_backend/callback_helper.h
diff --git a/chrome/browser/sync_file_system/drive_backend/callback_helper.h b/chrome/browser/sync_file_system/drive_backend/callback_helper.h
index d4fac2f2e63943c60f7cc1aafb551184ae126bcb..e9c0f09535fce3a8273a526caf96e753d6d0c545 100644
--- a/chrome/browser/sync_file_system/drive_backend/callback_helper.h
+++ b/chrome/browser/sync_file_system/drive_backend/callback_helper.h
@@ -89,7 +89,7 @@ base::Callback<T> RelayCallbackToTaskRunner(
const scoped_refptr<base::SequencedTaskRunner>& task_runner,
const tracked_objects::Location& from_here,
const base::Callback<T>& callback) {
- DCHECK(task_runner->RunsTasksOnCurrentThread());
+ DCHECK(task_runner->RunsTasksInCurrentSequence());
if (callback.is_null())
return base::Callback<T>();

Powered by Google App Engine
This is Rietveld 408576698