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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp

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/AudioWorklet.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp b/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp
index 4405c059f5d404945f26cbb4cda162f21ebd6427..df531517d4c0443cf9c3dfcf40f08d4307d5ec0b 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp
@@ -35,10 +35,12 @@ void AudioWorklet::Initialize() {
worklet_messaging_proxy_ =
new AudioWorkletMessagingProxy(GetExecutionContext(), worker_clients);
worklet_messaging_proxy_->Initialize();
+
+ is_initialized_ = true;
}
bool AudioWorklet::IsInitialized() const {
- return worklet_messaging_proxy_;
+ return is_initialized_;
}
WorkletGlobalScopeProxy* AudioWorklet::GetWorkletGlobalScopeProxy() const {

Powered by Google App Engine
This is Rietveld 408576698