Index: chrome/browser/ui/webui/options/chromeos/display_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc |
index 18dc1d0d226b080cdec4a2fb769999bd6234865b..eecfb9a37b5390758c638376a6b7e33cbdae6f13 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc |
@@ -413,7 +413,7 @@ void DisplayOptionsHandler::HandleSetDisplayLayout( |
display::DisplayLayoutBuilder builder( |
display_manager->GetCurrentDisplayLayout()); |
builder.ClearPlacements(); |
- for (const base::Value* layout : *layouts) { |
+ for (const auto& layout : *layouts) { |
const base::DictionaryValue* dictionary; |
if (!layout->GetAsDictionary(&dictionary)) { |
LOG(ERROR) << "Invalid layout dictionary: " << *dictionary; |