Commit 6092f83c authored by dcheng's avatar dcheng Committed by Commit bot

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}
parent e06bd133
......@@ -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;
}
......
......@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment