| Index: chrome/browser/extensions/api/dial/dial_registry.cc
|
| diff --git a/chrome/browser/extensions/api/dial/dial_registry.cc b/chrome/browser/extensions/api/dial/dial_registry.cc
|
| index 9dc6318c31e858b7658a5466b2c1211f501d7fa7..6444f0c820feec8e1c2c7238952d641f8e130c93 100644
|
| --- a/chrome/browser/extensions/api/dial/dial_registry.cc
|
| +++ b/chrome/browser/extensions/api/dial/dial_registry.cc
|
| @@ -157,7 +157,7 @@ bool DialRegistry::PruneExpiredDevices() {
|
| bool pruned_device = false;
|
| DeviceByLabelMap::iterator it = device_by_label_map_.begin();
|
| while (it != device_by_label_map_.end()) {
|
| - const auto& device = it->second;
|
| + auto* device = it->second;
|
| if (IsDeviceExpired(*device)) {
|
| VLOG(2) << "Device " << device->label() << " expired, removing";
|
| const size_t num_erased_by_id =
|
|
|