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

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

Issue 2840473002: Worker: Remove WorkerLoaderProxy for clean-up (Closed)
Patch Set: clean up 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/AudioWorkletThread.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.h b/third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.h
index 22e5b9d22bb70ee7acb4a72db1cb2625baede068..93a091de2561e11555b6cf5a7793bd09296343d9 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.h
@@ -5,7 +5,6 @@
#ifndef AudioWorkletThread_h
#define AudioWorkletThread_h
-#include "core/workers/WorkerLoaderProxy.h"
#include "core/workers/WorkerThread.h"
#include "core/workers/WorkletThreadHolder.h"
#include "modules/ModulesExport.h"
@@ -21,9 +20,8 @@ class WorkerReportingProxy;
class MODULES_EXPORT AudioWorkletThread final : public WorkerThread {
public:
- static std::unique_ptr<AudioWorkletThread> Create(
- PassRefPtr<WorkerLoaderProxy>,
- WorkerReportingProxy&);
+ static std::unique_ptr<AudioWorkletThread> Create(ThreadableLoadingContext*,
+ WorkerReportingProxy&);
~AudioWorkletThread() override;
WorkerBackingThread& GetWorkerBackingThread() override;
@@ -46,7 +44,7 @@ class MODULES_EXPORT AudioWorkletThread final : public WorkerThread {
bool IsOwningBackingThread() const override { return false; }
private:
- AudioWorkletThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
+ AudioWorkletThread(ThreadableLoadingContext*, WorkerReportingProxy&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698