Index: WebCore/bindings/v8/custom/V8IDBKeyCustom.cpp |
=================================================================== |
--- WebCore/bindings/v8/custom/V8IDBKeyCustom.cpp (revision 73901) |
+++ WebCore/bindings/v8/custom/V8IDBKeyCustom.cpp (working copy) |
@@ -45,7 +45,7 @@ |
case IDBKey::NullType: |
return v8::Null(); |
case IDBKey::NumberType: |
- return v8::Integer::New(key->number()); |
+ return v8::Number::New(key->number()); |
case IDBKey::StringType: |
return v8String(key->string()); |
// FIXME: Implement dates. |