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/bindings/v8/DOMRequestState.h

Issue 77773003: Make WebMIDI use blink Promise. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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/bindings/v8/DOMRequestState.h
diff --git a/Source/bindings/v8/DOMRequestState.h b/Source/bindings/v8/DOMRequestState.h
index 8942218ef9e4083944f5a15ec30a3066b6cb8c77..74565b128a5f13277b54dba677d1b0112d004ca3 100644
--- a/Source/bindings/v8/DOMRequestState.h
+++ b/Source/bindings/v8/DOMRequestState.h
@@ -43,6 +43,20 @@ public:
{
}
+ DOMRequestState(ExecutionContext* executionContext, PassRefPtr<DOMWrapperWorld> world)
+ : m_executionContext(executionContext)
+ , m_world(world)
+ , m_isolate(toIsolate(executionContext))
+ {
+ }
+
+ DOMRequestState(ExecutionContext* executionContext, DOMWrapperWorld* world)
+ : m_executionContext(executionContext)
+ , m_world(world)
+ , m_isolate(toIsolate(executionContext))
+ {
+ }
+
void clear()
{
m_executionContext = 0;

Powered by Google App Engine
This is Rietveld 408576698