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

Unified Diff: chrome/browser/win/settings_app_monitor.cc

Issue 2871303004: Rename TaskRunner::RunsTasksOnCurrentThread() in //chrome (Closed)
Patch Set: 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/win/settings_app_monitor.cc
diff --git a/chrome/browser/win/settings_app_monitor.cc b/chrome/browser/win/settings_app_monitor.cc
index fd47977b1a9ab1dbba1375ba019a096afb615700..a04149e9418344f77ae473827775ce11bc119203 100644
--- a/chrome/browser/win/settings_app_monitor.cc
+++ b/chrome/browser/win/settings_app_monitor.cc
@@ -642,7 +642,7 @@ void SettingsAppMonitor::Context::Initialize(
const base::WeakPtr<SettingsAppMonitor>& monitor) {
// This and all other methods must be called on the automation thread.
DCHECK(task_runner->BelongsToCurrentThread());
- DCHECK(!monitor_runner->RunsTasksOnCurrentThread());
+ DCHECK(!monitor_runner->RunsTasksInCurrentSequence());
task_runner_ = task_runner;
monitor_runner_ = monitor_runner;

Powered by Google App Engine
This is Rietveld 408576698