Index: chrome/browser/extensions/extension_tts_api_util.cc |
diff --git a/chrome/browser/extensions/extension_tts_api_util.cc b/chrome/browser/extensions/extension_tts_api_util.cc |
index b3ef18ce3a15296d459343cd2935d8affc2a9736..b63038739de6eea566a3e2fe5d402d796206f676 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; |