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..106e2c2cd2bd7211b39e7b865045d1dc01898247 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 (const 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) { |