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

Unified Diff: components/security_interstitials/core/controller_client.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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: 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) {
« no previous file with comments | « components/search_provider_logos/logo_tracker.cc ('k') | components/security_interstitials/core/metrics_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698