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; |
} |