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

Unified Diff: Source/modules/indexeddb/IDBFactory.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/IDBFactory.h
diff --git a/Source/modules/indexeddb/IDBFactory.h b/Source/modules/indexeddb/IDBFactory.h
index 56480f23d545b78ecb296be4575957f22cc46222..f7e5c5c6104497d0ff22b27378aecf29b058ce68 100644
--- a/Source/modules/indexeddb/IDBFactory.h
+++ b/Source/modules/indexeddb/IDBFactory.h
@@ -53,18 +53,18 @@ public:
~IDBFactory();
void trace(Visitor*);
- PassRefPtrWillBeRawPtr<IDBRequest> getDatabaseNames(ExecutionContext*, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBRequest> getDatabaseNames(ScriptState*, ExceptionState&);
- PassRefPtrWillBeRawPtr<IDBOpenDBRequest> open(ExecutionContext*, const String& name, ExceptionState&);
- PassRefPtrWillBeRawPtr<IDBOpenDBRequest> open(ExecutionContext*, const String& name, unsigned long long version, ExceptionState&);
- PassRefPtrWillBeRawPtr<IDBOpenDBRequest> deleteDatabase(ExecutionContext*, const String& name, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBOpenDBRequest> open(ScriptState*, const String& name, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBOpenDBRequest> open(ScriptState*, const String& name, unsigned long long version, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBOpenDBRequest> deleteDatabase(ScriptState*, const String& name, ExceptionState&);
- short cmp(ExecutionContext*, const ScriptValue& first, const ScriptValue& second, ExceptionState&);
+ short cmp(ScriptState*, const ScriptValue& first, const ScriptValue& second, ExceptionState&);
private:
explicit IDBFactory(PassRefPtrWillBeRawPtr<IndexedDBClient>);
- PassRefPtrWillBeRawPtr<IDBOpenDBRequest> openInternal(ExecutionContext*, const String& name, int64_t version, ExceptionState&);
+ PassRefPtrWillBeRawPtr<IDBOpenDBRequest> openInternal(ScriptState*, const String& name, int64_t version, ExceptionState&);
RefPtrWillBeMember<IndexedDBClient> m_permissionClient;
};

Powered by Google App Engine
This is Rietveld 408576698