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

Unified Diff: components/search_engines/default_search_manager_unittest.cc

Issue 383263005: Remove more CreateIntegerValue calls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/SetBoolean/SetInteger Created 6 years, 5 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: components/search_engines/default_search_manager_unittest.cc
diff --git a/components/search_engines/default_search_manager_unittest.cc b/components/search_engines/default_search_manager_unittest.cc
index 847be02d21849d15a34e4152e06985d4d1285a31..fd5e7f4b4416cdd62ca6b3cb08890607e1cf77ea 100644
--- a/components/search_engines/default_search_manager_unittest.cc
+++ b/components/search_engines/default_search_manager_unittest.cc
@@ -46,7 +46,7 @@ void ExpectSimilar(const TemplateURLData* expected,
// TODO(caitkp): TemplateURLData-ify this.
void SetOverrides(user_prefs::TestingPrefServiceSyncable* prefs, bool update) {
prefs->SetUserPref(prefs::kSearchProviderOverridesVersion,
- base::Value::CreateIntegerValue(1));
+ new base::FundamentalValue(1));
base::ListValue* overrides = new base::ListValue;
scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue);

Powered by Google App Engine
This is Rietveld 408576698