| Index: components/sync_driver/device_info_service.cc
|
| diff --git a/components/sync_driver/device_info_service.cc b/components/sync_driver/device_info_service.cc
|
| index fb4511290888074a27c5cc2d0705bea62fc5d753..29a4d19314808b6bc9f8b3208881028d18e740c7 100644
|
| --- a/components/sync_driver/device_info_service.cc
|
| +++ b/components/sync_driver/device_info_service.cc
|
| @@ -179,8 +179,7 @@ void DeviceInfoService::StoreSpecifics(
|
| scoped_ptr<DeviceInfoSpecifics> specifics) {
|
| DVLOG(1) << "Storing DEVICE_INFO for " << specifics->client_name()
|
| << " with ID " << specifics->cache_guid();
|
| - const std::string& key = specifics->cache_guid();
|
| - all_data_.set(key, specifics.Pass());
|
| + all_data_[specifics->cache_guid()] = std::move(specifics);
|
| }
|
|
|
| void DeviceInfoService::DeleteSpecifics(const std::string& client_id) {
|
|
|