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

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

Issue 1978063002: [DO NOT SUBMIT] AudioWorklet FS2a: AudioWorkletThread on OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FS2-audiorendersink-audioworkletthread
Patch Set: Created 4 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/OfflineAudioDestinationNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h
index 47f23e30e2a294298f7398062fd42b0b4c425905..1812d9be6d6031483b9c6ef2a0974df458eb2537 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.h
@@ -27,8 +27,9 @@
#include "modules/webaudio/AudioBuffer.h"
#include "modules/webaudio/AudioDestinationNode.h"
+#include "modules/webaudio/AudioWorkletThread.h"
#include "modules/webaudio/OfflineAudioContext.h"
-#include "public/platform/WebThread.h"
+// #include "public/platform/WebThread.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
@@ -58,7 +59,7 @@ public:
size_t renderQuantumFrames() const { return renderQuantumSize; }
- WebThread* offlineRenderThread();
+ AudioWorkletThread* offlineRenderThread();
private:
OfflineAudioDestinationHandler(AudioNode&, AudioBuffer* renderTarget);
@@ -97,7 +98,8 @@ private:
RefPtr<AudioBus> m_renderBus;
// Rendering thread.
- OwnPtr<WebThread> m_renderThread;
+ // OwnPtr<WebThread> m_renderThread;
+ RefPtr<AudioWorkletThread> m_renderThread;
// These variables are for counting the number of frames for the current
// progress and the remaining frames to be processed.

Powered by Google App Engine
This is Rietveld 408576698