| 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 161f6a65cc453a7ccefc2c7189a1e0c0c16bebf2..c06c10c903bcaf28467fd29270868ed537ab8c22 100644
|
| --- a/components/component_updater/default_component_installer.cc
|
| +++ b/components/component_updater/default_component_installer.cc
|
| @@ -228,7 +228,7 @@ 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);
|
|
|
| @@ -325,7 +325,7 @@ void DefaultComponentInstaller::StartRegistration(
|
|
|
| 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;
|
|
|