Index: chrome/browser/policy/managed_bookmarks_policy_handler.cc |
diff --git a/chrome/browser/policy/managed_bookmarks_policy_handler.cc b/chrome/browser/policy/managed_bookmarks_policy_handler.cc |
index 3c144247ef721194e33d176c92b8386c472fac6c..58bb19843be8fe748cea5f74cbae60cc3d5ac606 100644 |
--- a/chrome/browser/policy/managed_bookmarks_policy_handler.cc |
+++ b/chrome/browser/policy/managed_bookmarks_policy_handler.cc |
@@ -49,7 +49,7 @@ void ManagedBookmarksPolicyHandler::ApplyPolicySettings( |
std::string |
ManagedBookmarksPolicyHandler::GetFolderName(const base::ListValue& list) { |
// Iterate over the list, and try to find the FolderName. |
- for (auto el : list) { |
+ for (const auto& el : list) { |
const base::DictionaryValue* dict = NULL; |
if (!el || !el->GetAsDictionary(&dict)) continue; |