| Index: chrome/browser/printing/cloud_print/privet_notifications.cc
 | 
| diff --git a/chrome/browser/printing/cloud_print/privet_notifications.cc b/chrome/browser/printing/cloud_print/privet_notifications.cc
 | 
| index 77dfda5fc718e7a841a4034bce1825b40b4705f1..09f69944f7974feb342c95548cbdd7859bed35c7 100644
 | 
| --- a/chrome/browser/printing/cloud_print/privet_notifications.cc
 | 
| +++ b/chrome/browser/printing/cloud_print/privet_notifications.cc
 | 
| @@ -101,13 +101,11 @@ void PrivetNotificationsListener::DeviceChanged(
 | 
|      return;  // Already saw this device.
 | 
|    }
 | 
|  
 | 
| -  linked_ptr<DeviceContext> device_context(new DeviceContext);
 | 
| -
 | 
| +  scoped_ptr<DeviceContext>& device_context = devices_seen_[name];
 | 
| +  device_context.reset(new DeviceContext);
 | 
|    device_context->notification_may_be_active = false;
 | 
|    device_context->registered = !description.id.empty();
 | 
|  
 | 
| -  devices_seen_.insert(make_pair(name, device_context));
 | 
| -
 | 
|    if (!device_context->registered) {
 | 
|      device_context->privet_http_resolution =
 | 
|          privet_http_factory_->CreatePrivetHTTP(name);
 | 
| 
 |