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

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
Index: Source/modules/indexeddb/IDBIndex.h
diff --git a/Source/modules/indexeddb/IDBIndex.h b/Source/modules/indexeddb/IDBIndex.h
index 7d4e82d88fea80ced24b44ac548699e5d2d998f9..f626e219015e9ceb32de37d8a8e7707144cd17b3 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; }
- PassRefPtrWillBeRawPtr<IDBRequest> openCursor(ExecutionContext*, const ScriptValue& key, const String& direction, ExceptionState&);
- PassRefPtrWillBeRawPtr<IDBRequest> openKeyCursor(ExecutionContext*, const ScriptValue& range, const String& direction, ExceptionState&);
- PassRefPtrWillBeRawPtr<IDBRequest> count(ExecutionContext*, const ScriptValue& range, ExceptionState&);
- PassRefPtrWillBeRawPtr<IDBRequest> get(ExecutionContext*, const ScriptValue& key, ExceptionState&);
- PassRefPtrWillBeRawPtr<IDBRequest> getKey(ExecutionContext*, const ScriptValue& key, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBRequest> openCursor(ScriptState*, const ScriptValue& key, const String& direction, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBRequest> openKeyCursor(ScriptState*, const ScriptValue& range, const String& direction, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBRequest> count(ScriptState*, const ScriptValue& range, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBRequest> get(ScriptState*, const ScriptValue& key, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBRequest> getKey(ScriptState*, const ScriptValue& key, ExceptionState&);
void markDeleted() { m_deleted = true; }
bool isDeleted() const;
// Used internally and by InspectorIndexedDBAgent:
- PassRefPtrWillBeRawPtr<IDBRequest> openCursor(ExecutionContext*, PassRefPtrWillBeRawPtr<IDBKeyRange>, blink::WebIDBCursor::Direction);
+ PassRefPtrWillBeRawPtr<IDBRequest> openCursor(ScriptState*, PassRefPtrWillBeRawPtr<IDBKeyRange>, blink::WebIDBCursor::Direction);
blink::WebIDBDatabase* backendDB() const;
private:
IDBIndex(const IDBIndexMetadata&, IDBObjectStore*, IDBTransaction*);
- PassRefPtrWillBeRawPtr<IDBRequest> getInternal(ExecutionContext*, const ScriptValue& key, ExceptionState&, bool keyOnly);
+ PassRefPtrWillBeRawPtr<IDBRequest> getInternal(ScriptState*, const ScriptValue& key, ExceptionState&, bool keyOnly);
IDBIndexMetadata m_metadata;
RefPtrWillBeMember<IDBObjectStore> m_objectStore;

Powered by Google App Engine
This is Rietveld 408576698