Index: chrome/browser/local_discovery/privet_local_printer_lister.cc |
diff --git a/chrome/browser/local_discovery/privet_local_printer_lister.cc b/chrome/browser/local_discovery/privet_local_printer_lister.cc |
index cddce18b8e22369b03567036e1bd5880089a38b8..5a5cd11dd23d72a97b981be68563f1a659b3e9e6 100644 |
--- a/chrome/browser/local_discovery/privet_local_printer_lister.cc |
+++ b/chrome/browser/local_discovery/privet_local_printer_lister.cc |
@@ -5,8 +5,8 @@ |
#include "chrome/browser/local_discovery/privet_local_printer_lister.h" |
#include <stddef.h> |
- |
#include <string> |
+#include <utility> |
#include "chrome/browser/local_discovery/privet_constants.h" |
#include "chrome/browser/local_discovery/privet_device_lister_impl.h" |
@@ -95,7 +95,7 @@ void PrivetLocalPrinterLister::OnPrivetResolved( |
base::Unretained(this), |
i->second.get(), |
http_client->GetName())); |
- i->second->privet_client = http_client.Pass(); |
+ i->second->privet_client = std::move(http_client); |
i->second->info_operation->Start(); |
} |