Index: chrome/browser/extensions/api/gcd_private/gcd_private_api.cc |
diff --git a/chrome/browser/extensions/api/gcd_private/gcd_private_api.cc b/chrome/browser/extensions/api/gcd_private/gcd_private_api.cc |
index 2d3a5df9d54d9cd445ca4055463db2ba8f4b7bea..9541d0efa5c7a929297dc2b82d40a8cfadddddc6 100644 |
--- a/chrome/browser/extensions/api/gcd_private/gcd_private_api.cc |
+++ b/chrome/browser/extensions/api/gcd_private/gcd_private_api.cc |
@@ -312,7 +312,7 @@ void GcdPrivateCreateSessionFunction::OnSessionInitialized( |
if (status == gcd_private::STATUS_SUCCESS) { |
const base::ListValue* pairing = nullptr; |
if (info.GetList("authentication.pairing", &pairing)) { |
- for (const base::Value* value : *pairing) { |
+ for (const auto& value : *pairing) { |
std::string pairing_string; |
if (value->GetAsString(&pairing_string)) { |
api::gcd_private::PairingType pairing_type = |