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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.h

Issue 2793593002: AudioWorklet prototype
Patch Set: Rebase after ThreadedWorkletMessaginProxy change Created 3 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: third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.h b/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.h
index 78b0643c7b202c277fd00d92174fde07d67cc13b..3a2331ae315d80741a660fc44c27536d13e88ece 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.h
@@ -68,6 +68,12 @@ class MODULES_EXPORT AudioWorkletGlobalScope final
ProcessorInstances processor_instances_;
};
+DEFINE_TYPE_CASTS(AudioWorkletGlobalScope,
+ ExecutionContext,
+ context,
+ context->IsAudioWorkletGlobalScope(),
+ context.IsAudioWorkletGlobalScope());
+
} // namespace blink
#endif // AudioWorkletGlobalScope_h

Powered by Google App Engine
This is Rietveld 408576698