Index: chrome/browser/local_discovery/privet_notifications.cc |
diff --git a/chrome/browser/local_discovery/privet_notifications.cc b/chrome/browser/local_discovery/privet_notifications.cc |
index ddecc245002ec73e6d409a39fca6ddc066660443..4913576062fe50e178d103851c6c13f8a4af3795 100644 |
--- a/chrome/browser/local_discovery/privet_notifications.cc |
+++ b/chrome/browser/local_discovery/privet_notifications.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/browser/local_discovery/privet_notifications.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/location.h" |
@@ -344,8 +346,8 @@ void PrivetNotificationService::StartLister() { |
PrivetHTTPAsynchronousFactory::CreateInstance( |
profile_->GetRequestContext())); |
- privet_notifications_listener_.reset(new PrivetNotificationsListener( |
- http_factory.Pass(), this)); |
+ privet_notifications_listener_.reset( |
+ new PrivetNotificationsListener(std::move(http_factory), this)); |
} |
PrivetNotificationDelegate::PrivetNotificationDelegate( |