Index: components/component_updater/default_component_installer.cc |
diff --git a/components/component_updater/default_component_installer.cc b/components/component_updater/default_component_installer.cc |
index 6cdca7edac5bd565bb9eb0fab0f0704c7f5bced4..623d1e84ec44bfc155962ba9ef7fb5606fb98904 100644 |
--- a/components/component_updater/default_component_installer.cc |
+++ b/components/component_updater/default_component_installer.cc |
@@ -210,7 +210,7 @@ bool DefaultComponentInstaller::FindPreinstallation( |
void DefaultComponentInstaller::StartRegistration(ComponentUpdateService* cus) { |
VLOG(1) << __func__ << " for " << installer_traits_->GetName(); |
DCHECK(task_runner_.get()); |
- DCHECK(task_runner_->RunsTasksOnCurrentThread()); |
+ DCHECK(task_runner_->RunsTasksInCurrentSequence()); |
base::Version latest_version(kNullVersion); |
@@ -308,7 +308,7 @@ void DefaultComponentInstaller::StartRegistration(ComponentUpdateService* cus) { |
void DefaultComponentInstaller::UninstallOnTaskRunner() { |
DCHECK(task_runner_.get()); |
- DCHECK(task_runner_->RunsTasksOnCurrentThread()); |
+ DCHECK(task_runner_->RunsTasksInCurrentSequence()); |
// Only try to delete any files that are in our user-level install path. |
base::FilePath userInstallPath; |