| Index: components/update_client/update_client.cc
|
| diff --git a/components/update_client/update_client.cc b/components/update_client/update_client.cc
|
| index 176d5b9d5116fb39356d5f01cfc167eaab0e6699..ce9e1b011ebd073decbf752b9f82bb879b245688 100644
|
| --- a/components/update_client/update_client.cc
|
| +++ b/components/update_client/update_client.cc
|
| @@ -196,7 +196,7 @@ bool UpdateClientImpl::GetCrxUpdateState(const std::string& id,
|
| bool UpdateClientImpl::IsUpdating(const std::string& id) const {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
|
|
| - for (const auto& task : tasks_) {
|
| + for (auto* task : tasks_) {
|
| const auto ids(task->GetIds());
|
| if (std::find(ids.begin(), ids.end(), id) != ids.end()) {
|
| return true;
|
| @@ -225,7 +225,7 @@ void UpdateClientImpl::Stop() {
|
| // they have not picked up by the update engine, and not shared with any
|
| // task runner yet.
|
| while (!task_queue_.empty()) {
|
| - const auto task(task_queue_.front());
|
| + auto* task(task_queue_.front());
|
| task_queue_.pop();
|
| task->Cancel();
|
| }
|
|
|