| Index: components/update_client/update_engine.cc
|
| diff --git a/components/update_client/update_engine.cc b/components/update_client/update_engine.cc
|
| index e356e99b7f708126264fee18c576100824091d0b..e4452e37b7ec9e214920dd40269da89a46dc0b60 100644
|
| --- a/components/update_client/update_engine.cc
|
| +++ b/components/update_client/update_engine.cc
|
| @@ -66,7 +66,7 @@ UpdateEngine::~UpdateEngine() {
|
| bool UpdateEngine::GetUpdateState(const std::string& id,
|
| CrxUpdateItem* update_item) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| - for (const auto& context : update_contexts_) {
|
| + for (auto* context : update_contexts_) {
|
| const auto& update_items = context->update_items;
|
| const auto it = std::find_if(update_items.begin(), update_items.end(),
|
| [id](const CrxUpdateItem* update_item) {
|
|
|