Index: components/security_interstitials/core/controller_client.cc |
diff --git a/components/security_interstitials/core/controller_client.cc b/components/security_interstitials/core/controller_client.cc |
index 0baa07a211287bd6fc5e944bd290052d61f45d5c..0a32c7af5b0e7a10bda439633f554f5a5eb7dd06 100644 |
--- a/components/security_interstitials/core/controller_client.cc |
+++ b/components/security_interstitials/core/controller_client.cc |
@@ -4,6 +4,8 @@ |
#include "components/security_interstitials/core/controller_client.h" |
+#include <utility> |
+ |
#include "base/prefs/pref_service.h" |
#include "components/google/core/browser/google_util.h" |
#include "components/security_interstitials/core/metrics_helper.h" |
@@ -29,7 +31,7 @@ MetricsHelper* ControllerClient::metrics_helper() const { |
void ControllerClient::set_metrics_helper( |
scoped_ptr<MetricsHelper> metrics_helper) { |
- metrics_helper_ = metrics_helper.Pass(); |
+ metrics_helper_ = std::move(metrics_helper); |
} |
void ControllerClient::SetReportingPreference(bool report) { |