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

Unified Diff: components/search_engines/default_search_pref_test_util.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/search_engines/default_search_pref_test_util.cc
diff --git a/components/search_engines/default_search_pref_test_util.cc b/components/search_engines/default_search_pref_test_util.cc
index 22acd425b39a86b388911d82daaff49053f89cc1..aa80db97928f907556aab0720db7b5180f796545 100644
--- a/components/search_engines/default_search_pref_test_util.cc
+++ b/components/search_engines/default_search_pref_test_util.cc
@@ -23,7 +23,7 @@ DefaultSearchPrefTestUtil::CreateDefaultSearchPreferenceValue(
scoped_ptr<base::DictionaryValue> value(new base::DictionaryValue);
if (!enabled) {
value->SetBoolean(DefaultSearchManager::kDisabledByPolicy, true);
- return value.Pass();
+ return value;
}
EXPECT_FALSE(keyword.empty());
@@ -52,5 +52,5 @@ DefaultSearchPrefTestUtil::CreateDefaultSearchPreferenceValue(
alternate_url_list->Append(new base::StringValue(alternate_url));
value->Set(DefaultSearchManager::kAlternateURLs,
alternate_url_list.release());
- return value.Pass();
+ return value;
}

Powered by Google App Engine
This is Rietveld 408576698