diff options
Diffstat (limited to 'chrome/renderer/extensions/renderer_extension_bindings.cc')
-rw-r--r-- | chrome/renderer/extensions/renderer_extension_bindings.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/extensions/renderer_extension_bindings.cc b/chrome/renderer/extensions/renderer_extension_bindings.cc index ab7a8eb..8b40f85 100644 --- a/chrome/renderer/extensions/renderer_extension_bindings.cc +++ b/chrome/renderer/extensions/renderer_extension_bindings.cc @@ -269,9 +269,9 @@ static std::vector< v8::Handle<v8::Value> > ListValueToV8( v8_values.push_back(v8::Integer::New(val)); break; } - case Value::TYPE_REAL: { + case Value::TYPE_DOUBLE: { double val; - elem->GetAsReal(&val); + elem->GetAsDouble(&val); v8_values.push_back(v8::Number::New(val)); break; } |