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

Unified Diff: ui/views/examples/button_sticker_sheet.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: update Created 3 years, 10 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: ui/views/examples/button_sticker_sheet.cc
diff --git a/ui/views/examples/button_sticker_sheet.cc b/ui/views/examples/button_sticker_sheet.cc
index dc98a833cd20b66b234147ebee7cada0eebb8cd4..9b32de4f2e927b394232a11c565166a1360eac62 100644
--- a/ui/views/examples/button_sticker_sheet.cc
+++ b/ui/views/examples/button_sticker_sheet.cc
@@ -56,7 +56,7 @@ void AddLabelledRowToGridLayout(GridLayout* layout,
const int kPaddingRowHeight = 8;
layout->StartRow(kRowDoesNotResizeVertically, kStretchyGridColumnSetId);
layout->AddView(MakePlainLabel(label_text));
- for (const auto& view : views)
+ for (auto* view : views)
layout->AddView(view);
// This gets added extraneously after the last row, but it doesn't hurt and
// means there's no need to keep track of whether to add it or not.

Powered by Google App Engine
This is Rietveld 408576698