diff options
Diffstat (limited to 'chrome/browser/extensions/extension_tts_api_util.cc')
-rw-r--r-- | chrome/browser/extensions/extension_tts_api_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_tts_api_util.cc b/chrome/browser/extensions/extension_tts_api_util.cc index b3ef18c..b630387 100644 --- a/chrome/browser/extensions/extension_tts_api_util.cc +++ b/chrome/browser/extensions/extension_tts_api_util.cc @@ -27,8 +27,8 @@ bool ReadNumberByKey(DictionaryValue* dict, if (!dict->GetInteger(key, &int_value)) return false; *ret_value = int_value; - } else if (value->IsType(Value::TYPE_REAL)) { - if (!dict->GetReal(key, ret_value)) + } else if (value->IsType(Value::TYPE_DOUBLE)) { + if (!dict->GetDouble(key, ret_value)) return false; } else { return false; |