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

Unified Diff: Source/WebCore/Modules/indexeddb/IDBDatabase.cpp

Issue 11348011: Revert 128789 - IndexedDB: Use ScriptValue instead of SerializedScriptValue for get/openCursor (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « Source/WebCore/Modules/indexeddb/IDBCursor.cpp ('k') | Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/WebCore/Modules/indexeddb/IDBCursor.cpp ('k') | Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698