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

Unified Diff: components/policy/tools/generate_policy_source.py

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/policy/tools/generate_policy_source.py
diff --git a/components/policy/tools/generate_policy_source.py b/components/policy/tools/generate_policy_source.py
index 4fbd2d03f9ca2ee9dba3e818a9a712dd2013d73f..ded63c28d4382a03e2780d035fb821112f8a2301 100755
--- a/components/policy/tools/generate_policy_source.py
+++ b/components/policy/tools/generate_policy_source.py
@@ -817,7 +817,7 @@ base::Value* DecodeIntegerValue(google::protobuf::int64 value) {
return NULL;
}
- return base::Value::CreateIntegerValue(static_cast<int>(value));
+ return new base::FundamentalValue(static_cast<int>(value));
}
base::ListValue* DecodeStringList(const em::StringList& string_list) {
« no previous file with comments | « components/policy/core/common/schema_map_unittest.cc ('k') | components/pref_registry/pref_registry_syncable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698