Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: components/nacl/loader/nacl_helper_win_64.cc

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/nacl/loader/nacl_helper_win_64.cc
diff --git a/components/nacl/loader/nacl_helper_win_64.cc b/components/nacl/loader/nacl_helper_win_64.cc
index bf9ce7f68a6d6fd22eced9a2610829adb6da21a2..74c1077ee4495c4aa9c0ea6b946574dededd76c0 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 @@ int NaClBrokerMain(const content::MainFunctionParams& parameters) {
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;

Powered by Google App Engine
This is Rietveld 408576698