Index: tools/json_schema_compiler/util_cc_helper.py |
diff --git a/tools/json_schema_compiler/util_cc_helper.py b/tools/json_schema_compiler/util_cc_helper.py |
index e81c4e359435fada0abc6e481300a8ebc5fb7399..5f5ab0fd136a10e167e20fd08bd768dba4127299 100644 |
--- a/tools/json_schema_compiler/util_cc_helper.py |
+++ b/tools/json_schema_compiler/util_cc_helper.py |
@@ -39,4 +39,4 @@ class UtilCCHelper(object): |
call = '.GetType()' |
if is_ptr: |
call = '->GetType()' |
- return 'json_schema_compiler::util::ValueTypeToString(%s%s)' % (value, call) |
+ return 'std::string(base::Value::GetTypeName(%s%s))' % (value, call) |