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

Unified Diff: chrome/browser/extensions/extension_tts_api_util.cc

Issue 6248026: Rename Real* to Double* in values.* and dependent files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More renames Created 9 years, 11 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: 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;

Powered by Google App Engine
This is Rietveld 408576698