diff options
author | dcheng <dcheng@chromium.org> | 2014-08-27 11:57:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-27 19:07:38 +0000 |
commit | 6092f83c16504d6d31d356769a9f0688c54aca6c (patch) | |
tree | 31dfda2717409f806046b31288393e270eb1a093 /components/component_updater | |
parent | e06bd13395c1ed5d93dd35ff3572a79f08bfbab8 (diff) | |
download | chromium_src-6092f83c16504d6d31d356769a9f0688c54aca6c.zip chromium_src-6092f83c16504d6d31d356769a9f0688c54aca6c.tar.gz chromium_src-6092f83c16504d6d31d356769a9f0688c54aca6c.tar.bz2 |
Remove implicit conversions from scoped_refptr to T* in components/component_updater/
This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.
BUG=110610
Review URL: https://codereview.chromium.org/505203003
Cr-Commit-Position: refs/heads/master@{#292198}
Diffstat (limited to 'components/component_updater')
-rw-r--r-- | components/component_updater/component_patcher.cc | 2 | ||||
-rw-r--r-- | components/component_updater/default_component_installer.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/component_updater/component_patcher.cc b/components/component_updater/component_patcher.cc index 4aac7c5..9a429c5 100644 --- a/components/component_updater/component_patcher.cc +++ b/components/component_updater/component_patcher.cc @@ -91,7 +91,7 @@ void ComponentPatcher::PatchNextFile() { CreateDeltaUpdateOp(operation, out_of_process_patcher_); } - if (!current_operation_) { + if (!current_operation_.get()) { DonePatching(ComponentUnpacker::kDeltaUnsupportedCommand, 0); return; } diff --git a/components/component_updater/default_component_installer.cc b/components/component_updater/default_component_installer.cc index aaaba33..406610c 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)) { |