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

Unified Diff: Source/modules/indexeddb/IDBRequest.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/IDBRequest.h
diff --git a/Source/modules/indexeddb/IDBRequest.h b/Source/modules/indexeddb/IDBRequest.h
index 6edb0e99841aa79d27c60a4302d760906c482573..f51f064d15263f9baf25e71bbcec943abc339a4c 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -69,7 +69,7 @@ class IDBRequest : public IDBRequestBase, public ScriptWrappable, public EventTa
DEFINE_EVENT_TARGET_REFCOUNTING(IDBRequestBase);
public:
- static PassRefPtrWillBeRawPtr<IDBRequest> create(ExecutionContext*, PassRefPtrWillBeRawPtr<IDBAny> source, IDBTransaction*);
+ static PassRefPtrWillBeRawPtr<IDBRequest> create(ScriptState*, PassRefPtrWillBeRawPtr<IDBAny> source, IDBTransaction*);
virtual ~IDBRequest();
virtual void trace(Visitor*);
@@ -146,7 +146,7 @@ public:
IDBCursor* getResultCursor() const;
protected:
- IDBRequest(ExecutionContext*, PassRefPtrWillBeRawPtr<IDBAny> source, IDBTransaction*);
+ IDBRequest(ScriptState*, PassRefPtrWillBeRawPtr<IDBAny> source, IDBTransaction*);
void enqueueEvent(PassRefPtrWillBeRawPtr<Event>);
void dequeueEvent(Event*);
virtual bool shouldEnqueueEvent() const;

Powered by Google App Engine
This is Rietveld 408576698