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

Unified Diff: chrome/browser/interstitials/security_interstitial_page.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/interstitials/security_interstitial_page.cc
diff --git a/chrome/browser/interstitials/security_interstitial_page.cc b/chrome/browser/interstitials/security_interstitial_page.cc
index 48bbcf5ad61115d58816dfc44347b93f1045ae79..1d5119214529bd1924204f42c7fbd594fdfa3128 100644
--- a/chrome/browser/interstitials/security_interstitial_page.cc
+++ b/chrome/browser/interstitials/security_interstitial_page.cc
@@ -4,8 +4,9 @@
#include "chrome/browser/interstitials/security_interstitial_page.h"
-#include "base/i18n/rtl.h"
+#include <utility>
+#include "base/i18n/rtl.h"
#include "base/metrics/histogram.h"
#include "base/prefs/pref_service.h"
#include "base/strings/utf_string_conversions.h"
@@ -113,5 +114,5 @@ SecurityInterstitialPage::metrics_helper() {
void SecurityInterstitialPage::set_metrics_helper(
scoped_ptr<security_interstitials::MetricsHelper> metrics_helper) {
- controller_->set_metrics_helper(metrics_helper.Pass());
+ controller_->set_metrics_helper(std::move(metrics_helper));
}

Powered by Google App Engine
This is Rietveld 408576698