Index: ios/web/app/web_main_loop.mm |
diff --git a/ios/web/app/web_main_loop.mm b/ios/web/app/web_main_loop.mm |
index 8381158c8f2b5778d3830239777f98cd81130cab..05b3ee2809251ca9e524dbb1fa151f96013c5a66 100644 |
--- a/ios/web/app/web_main_loop.mm |
+++ b/ios/web/app/web_main_loop.mm |
@@ -6,6 +6,8 @@ |
#include <stddef.h> |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/logging.h" |
@@ -79,7 +81,7 @@ void WebMainLoop::MainMessageLoopStart() { |
// TODO(rohitrao): Do we need PowerMonitor on iOS, or can we get rid of it? |
scoped_ptr<base::PowerMonitorSource> power_monitor_source( |
new base::PowerMonitorDeviceSource()); |
- power_monitor_.reset(new base::PowerMonitor(power_monitor_source.Pass())); |
+ power_monitor_.reset(new base::PowerMonitor(std::move(power_monitor_source))); |
network_change_notifier_.reset(net::NetworkChangeNotifier::Create()); |
if (parts_) { |