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

Unified Diff: Source/modules/indexeddb/IDBIndex.h

Issue 295163005: Remove ScriptState::current() from IDBRequest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/modules/indexeddb/IDBFactory.idl ('k') | Source/modules/indexeddb/IDBIndex.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBIndex.h
diff --git a/Source/modules/indexeddb/IDBIndex.h b/Source/modules/indexeddb/IDBIndex.h
index d8a34fc3d4a501d3e902d83975345054dda04556..bad1ed3944c1a832866d5864c14778fbb473ee1c 100644
--- a/Source/modules/indexeddb/IDBIndex.h
+++ b/Source/modules/indexeddb/IDBIndex.h
@@ -58,24 +58,24 @@ public:
bool unique() const { return m_metadata.unique; }
bool multiEntry() const { return m_metadata.multiEntry; }
- IDBRequest* openCursor(ExecutionContext*, const ScriptValue& key, const String& direction, ExceptionState&);
- IDBRequest* openKeyCursor(ExecutionContext*, const ScriptValue& range, const String& direction, ExceptionState&);
- IDBRequest* count(ExecutionContext*, const ScriptValue& range, ExceptionState&);
- IDBRequest* get(ExecutionContext*, const ScriptValue& key, ExceptionState&);
- IDBRequest* getKey(ExecutionContext*, const ScriptValue& key, ExceptionState&);
+ IDBRequest* openCursor(ScriptState*, const ScriptValue& key, const String& direction, ExceptionState&);
+ IDBRequest* openKeyCursor(ScriptState*, const ScriptValue& range, const String& direction, ExceptionState&);
+ IDBRequest* count(ScriptState*, const ScriptValue& range, ExceptionState&);
+ IDBRequest* get(ScriptState*, const ScriptValue& key, ExceptionState&);
+ IDBRequest* getKey(ScriptState*, const ScriptValue& key, ExceptionState&);
void markDeleted() { m_deleted = true; }
bool isDeleted() const;
// Used internally and by InspectorIndexedDBAgent:
- IDBRequest* openCursor(ExecutionContext*, IDBKeyRange*, blink::WebIDBCursor::Direction);
+ IDBRequest* openCursor(ScriptState*, IDBKeyRange*, blink::WebIDBCursor::Direction);
blink::WebIDBDatabase* backendDB() const;
private:
IDBIndex(const IDBIndexMetadata&, IDBObjectStore*, IDBTransaction*);
- IDBRequest* getInternal(ExecutionContext*, const ScriptValue& key, ExceptionState&, bool keyOnly);
+ IDBRequest* getInternal(ScriptState*, const ScriptValue& key, ExceptionState&, bool keyOnly);
IDBIndexMetadata m_metadata;
Member<IDBObjectStore> m_objectStore;
« no previous file with comments | « Source/modules/indexeddb/IDBFactory.idl ('k') | Source/modules/indexeddb/IDBIndex.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698