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

Unified Diff: Source/WebCore/Modules/indexeddb/IDBRequest.h

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
Index: Source/WebCore/Modules/indexeddb/IDBRequest.h
===================================================================
--- Source/WebCore/Modules/indexeddb/IDBRequest.h (revision 132816)
+++ Source/WebCore/Modules/indexeddb/IDBRequest.h (working copy)
@@ -113,7 +113,6 @@
IDBRequest(ScriptExecutionContext*, PassRefPtr<IDBAny> source, IDBTransactionBackendInterface::TaskType, IDBTransaction*);
void enqueueEvent(PassRefPtr<Event>);
virtual bool shouldEnqueueEvent() const;
- void onSuccessInternal(const ScriptValue&);
RefPtr<IDBAny> m_result;
unsigned short m_errorCode;
@@ -132,7 +131,7 @@
virtual EventTargetData* ensureEventTargetData();
PassRefPtr<IDBCursor> getResultCursor();
- void setResultCursor(PassRefPtr<IDBCursor>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, const ScriptValue&);
+ void setResultCursor(PassRefPtr<IDBCursor>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SerializedScriptValue>);
RefPtr<IDBAny> m_source;
const IDBTransactionBackendInterface::TaskType m_taskType;
@@ -147,7 +146,7 @@
RefPtr<IDBCursor> m_pendingCursor;
RefPtr<IDBKey> m_cursorKey;
RefPtr<IDBKey> m_cursorPrimaryKey;
- ScriptValue m_cursorValue;
+ RefPtr<SerializedScriptValue> m_cursorValue;
bool m_didFireUpgradeNeededEvent;
EventTargetData m_eventTargetData;
« no previous file with comments | « Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp ('k') | Source/WebCore/Modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698