Index: ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc |
diff --git a/ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc b/ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc |
index 7e4951adfe28ccc6154a9812f2d1bb332bdf10ff..a5d348f1da770d78ab6ecfd3aa819b9557d5c783 100644 |
--- a/ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc |
+++ b/ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.cc |
@@ -5,6 +5,7 @@ |
#include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_proxy_settings.h" |
#include <string> |
+#include <utility> |
#include "base/base64.h" |
#include "base/memory/ref_counted.h" |
@@ -190,12 +191,12 @@ void IOSChromeDataReductionProxySettings::InitDataReductionProxySettings( |
scoped_ptr<data_reduction_proxy::DataReductionProxyService> service = |
make_scoped_ptr(new data_reduction_proxy::DataReductionProxyService( |
- this, profile_prefs, request_context_getter, store.Pass(), |
+ this, profile_prefs, request_context_getter, std::move(store), |
ui_task_runner, io_data->io_task_runner(), db_task_runner, |
commit_delay)); |
data_reduction_proxy::DataReductionProxySettings:: |
InitDataReductionProxySettings(prefs::kDataSaverEnabled, profile_prefs, |
- io_data, service.Pass()); |
+ io_data, std::move(service)); |
io_data->SetDataReductionProxyService( |
data_reduction_proxy_service()->GetWeakPtr()); |