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

Unified Diff: chrome/browser/prefs/pref_model_associator_unittest.cc

Issue 385263004: Get rid of some uses of CreateIntegerValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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: chrome/browser/prefs/pref_model_associator_unittest.cc
diff --git a/chrome/browser/prefs/pref_model_associator_unittest.cc b/chrome/browser/prefs/pref_model_associator_unittest.cc
index 203e4a71f68a795867727be9827901c00c3675f4..95293551d9bfd14c80eec9cabdaa31b2897f7186 100644
--- a/chrome/browser/prefs/pref_model_associator_unittest.cc
+++ b/chrome/browser/prefs/pref_model_associator_unittest.cc
@@ -29,8 +29,7 @@ class AbstractPreferenceMergeTest : public testing::Test {
patterns_dict->SetWithoutPathExpansion(expression, expression_dict);
}
expression_dict->SetWithoutPathExpansion(
- content_type,
- base::Value::CreateIntegerValue(setting));
+ content_type, new base::FundamentalValue(setting));
}
void SetPrefToEmpty(const std::string& pref_name) {
« no previous file with comments | « chrome/browser/prefs/pref_hash_filter_unittest.cc ('k') | chrome/browser/profiles/incognito_mode_policy_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698