Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: components/update_client/action.cc

Issue 2110663002: components: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+one fix Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/update_client/action.cc
diff --git a/components/update_client/action.cc b/components/update_client/action.cc
index aa75f66cb4436bb99a6f52d827f6016271db3a73..438da26e96130d6cbc3487570f3e8f6d4c90c748 100644
--- a/components/update_client/action.cc
+++ b/components/update_client/action.cc
@@ -102,7 +102,7 @@ size_t ActionImpl::ChangeAllItemsState(CrxUpdateItem::State from,
CrxUpdateItem::State to) {
DCHECK(thread_checker_.CalledOnValidThread());
size_t count = 0;
- for (auto item : update_context_->update_items) {
+ for (auto* item : update_context_->update_items) {
if (item->state == from) {
ChangeItemState(item, to);
++count;
« no previous file with comments | « components/tracing/common/graphics_memory_dump_provider_android_unittest.cc ('k') | components/update_client/action_wait.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698