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

Unified Diff: chrome/browser/prefs/command_line_pref_store.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/prefs/command_line_pref_store.cc
diff --git a/chrome/browser/prefs/command_line_pref_store.cc b/chrome/browser/prefs/command_line_pref_store.cc
index d452bd96177ec96b311da21510412e3dbb2b4194..1f08ea76db512a80ed4363f97f4cd9414d92bb5e 100644
--- a/chrome/browser/prefs/command_line_pref_store.cc
+++ b/chrome/browser/prefs/command_line_pref_store.cc
@@ -5,8 +5,8 @@
#include "chrome/browser/prefs/command_line_pref_store.h"
#include <stddef.h>
-
#include <string>
+#include <utility>
#include <vector>
#include "ash/ash_switches.h"
@@ -194,7 +194,7 @@ void CommandLinePrefStore::ApplySSLSwitches() {
list_value->AppendStrings(base::SplitString(
command_line_->GetSwitchValueASCII(switches::kCipherSuiteBlacklist),
",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL));
- SetValue(ssl_config::prefs::kCipherSuiteBlacklist, list_value.Pass(),
+ SetValue(ssl_config::prefs::kCipherSuiteBlacklist, std::move(list_value),
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
}
}

Powered by Google App Engine
This is Rietveld 408576698