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

Unified Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc

Issue 1551033002: Convert Pass()→std::move() in //chrome (Android edition) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable RVO by making types match Created 5 years 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: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
index f21e727a416b7115617c27c2185a41ef37f73b43..ed1449a4bc6698c45b0f04ee0df70ea3ea539aa6 100644
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.h"
+#include <utility>
+
#include "base/prefs/pref_service.h"
#include "build/build_config.h"
#include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
@@ -81,7 +83,7 @@ CreateDataReductionProxyChromeIOData(
ui_task_runner, io_task_runner,
g_browser_process->GetApplicationLocale()));
data_reduction_proxy_io_data->set_debug_ui_service(
- data_reduction_proxy_ui_service.Pass());
+ std::move(data_reduction_proxy_ui_service));
#endif
return data_reduction_proxy_io_data;

Powered by Google App Engine
This is Rietveld 408576698