Index: Source/WebCore/Modules/indexeddb/IDBDatabase.cpp |
=================================================================== |
--- Source/WebCore/Modules/indexeddb/IDBDatabase.cpp (revision 132816) |
+++ Source/WebCore/Modules/indexeddb/IDBDatabase.cpp (working copy) |
@@ -117,7 +117,7 @@ |
int64_t intVersion = m_metadata.intVersion; |
if (intVersion == IDBDatabaseMetadata::NoIntVersion) |
return IDBAny::createString(m_metadata.version); |
- return IDBAny::create(intVersion); |
+ return IDBAny::create(SerializedScriptValue::numberValue(intVersion)); |
} |
PassRefPtr<IDBObjectStore> IDBDatabase::createObjectStore(const String& name, const Dictionary& options, ExceptionCode& ec) |