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

Unified Diff: components/policy/core/common/registry_dict_win.cc

Issue 399433005: Extirpate CreateBooleanValue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/boolean/bool 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
« no previous file with comments | « components/policy/core/common/mac_util.cc ('k') | components/policy/tools/generate_policy_source.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/registry_dict_win.cc
diff --git a/components/policy/core/common/registry_dict_win.cc b/components/policy/core/common/registry_dict_win.cc
index 8e03fbc4f722f136739d4a4220f0746103c42914..0231159d31735fab363f83785bb7b91c1c9f43b2 100644
--- a/components/policy/core/common/registry_dict_win.cc
+++ b/components/policy/core/common/registry_dict_win.cc
@@ -71,7 +71,7 @@ scoped_ptr<base::Value> ConvertValue(const base::Value& value,
(value.GetAsString(&string_value) &&
base::StringToInt(string_value, &int_value))) {
return scoped_ptr<base::Value>(
- base::Value::CreateBooleanValue(int_value != 0));
+ new base::FundamentalValue(int_value != 0));
}
break;
}
« no previous file with comments | « components/policy/core/common/mac_util.cc ('k') | components/policy/tools/generate_policy_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698