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

Unified Diff: chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc

Issue 1557693002: Convert Pass()→std::move() in //chrome/browser/chromeos/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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/chromeos/policy/restore_on_startup_browsertest_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc b/chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc
index 570427db0359583cc6bbea552b095dc7520f8bee..8d7cecc40055d06b2423f384a20fca072e29225d 100644
--- a/chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc
+++ b/chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <utility>
+
#include "base/command_line.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -60,7 +62,7 @@ void RestoreOnStartupTestChromeOS::GetMandatoryPoliciesValue(
scoped_ptr<base::ListValue> urls(new base::ListValue);
urls->AppendString(kStartUpURL1);
urls->AppendString(kStartUpURL2);
- policy->Set(key::kRestoreOnStartupURLs, urls.Pass());
+ policy->Set(key::kRestoreOnStartupURLs, std::move(urls));
}
void RestoreOnStartupTestChromeOS::LogInAndVerifyStartUpURLs() {

Powered by Google App Engine
This is Rietveld 408576698