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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBObserver.h

Issue 2458573002: bindings: Store ScriptState in generated callback functions (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
index c4f00fa330ed9104e23259f42cae4f71f01e72fe..34a202abc2fb966eb430c50424be3bf49f35b3e6 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
@@ -28,9 +28,7 @@ class MODULES_EXPORT IDBObserver final
DEFINE_WRAPPERTYPEINFO();
public:
- static IDBObserver* create(ScriptState*,
- IDBObserverCallback*,
- const IDBObserverInit&);
+ static IDBObserver* create(IDBObserverCallback*, const IDBObserverInit&);
void removeObserver(int32_t id);
void onChange(int32_t id,
@@ -51,9 +49,8 @@ class MODULES_EXPORT IDBObserver final
DECLARE_TRACE();
private:
- IDBObserver(ScriptState*, IDBObserverCallback*, const IDBObserverInit&);
+ IDBObserver(IDBObserverCallback*, const IDBObserverInit&);
- RefPtr<ScriptState> m_scriptState;
Member<IDBObserverCallback> m_callback;
bool m_transaction;
bool m_values;

Powered by Google App Engine
This is Rietveld 408576698