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

Unified Diff: components/component_updater/default_component_installer.cc

Issue 505203003: Remove implicit conversions from scoped_refptr to T* in components/component_updater/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « components/component_updater/component_patcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 aaaba33a1b3b4d9ecf2c24cf35f567945dddb478..406610ccc3d41aae07a2f5f3f2151ab7fa6f58f4 100644
--- a/components/component_updater/default_component_installer.cc
+++ b/components/component_updater/default_component_installer.cc
@@ -120,7 +120,7 @@ bool DefaultComponentInstaller::GetInstalledFile(
}
void DefaultComponentInstaller::StartRegistration(ComponentUpdateService* cus) {
- DCHECK(task_runner_);
+ DCHECK(task_runner_.get());
DCHECK(task_runner_->RunsTasksOnCurrentThread());
base::FilePath base_dir = installer_traits_->GetBaseDirectory();
if (!base::PathExists(base_dir) && !base::CreateDirectory(base_dir)) {
« no previous file with comments | « components/component_updater/component_patcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698