Convert Pass()→std::move() on Windows
Also cleaned up a few stragglers from grepping the source: it's unclear
if these are just building with weird defines, don't build at all, only
build on obscure platforms, or something else… either way, Pass()
itself will be removed shortly after this.
BUG=557422
Review URL: https://codereview.chromium.org/1752233002
Cr-Commit-Position: refs/heads/master@{#378872}
diff --git a/components/nacl/loader/nacl_helper_win_64.cc b/components/nacl/loader/nacl_helper_win_64.cc
index bf9ce7f..74c1077e 100644
--- a/components/nacl/loader/nacl_helper_win_64.cc
+++ b/components/nacl/loader/nacl_helper_win_64.cc
@@ -5,6 +5,7 @@
#include "components/nacl/loader/nacl_helper_win_64.h"
#include <string>
+#include <utility>
#include "base/command_line.h"
#include "base/logging.h"
@@ -37,7 +38,7 @@
scoped_ptr<base::PowerMonitorSource> power_monitor_source(
new base::PowerMonitorDeviceSource());
- base::PowerMonitor power_monitor(power_monitor_source.Pass());
+ base::PowerMonitor power_monitor(std::move(power_monitor_source));
base::HighResolutionTimerManager hi_res_timer_manager;
NaClBrokerListener listener;