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

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp

Issue 2727733002: Implement AudioWorkletProcessor interface (Closed)
Patch Set: Addressing feedback from rtoy@ Created 3 years, 9 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/core/workers/ThreadedMessagingProxyBase.cpp
diff --git a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
index f5cf18a7ea7912480fac1288030951b13649faa8..9ae83beb1675eea75c6bc8ef75f6e3aae2d73d85 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
+++ b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp
@@ -45,6 +45,11 @@ int ThreadedMessagingProxyBase::proxyCount() {
return s_liveMessagingProxyCount;
}
+void ThreadedMessagingProxyBase::setWorkerThreadForTest(
+ std::unique_ptr<WorkerThread> workerThread) {
+ m_workerThread = std::move(workerThread);
+}
+
void ThreadedMessagingProxyBase::initializeWorkerThread(
std::unique_ptr<WorkerThreadStartupData> startupData) {
DCHECK(isParentContextThread());

Powered by Google App Engine
This is Rietveld 408576698