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

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

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/AudioWorkletThreadStartupData.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioWorkletThreadStartupData.cpp b/third_party/WebKit/Source/modules/webaudio/AudioWorkletThreadStartupData.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..ad7154e0b00c4e526f4a4f3f7ea8b0d0fee8c612
--- /dev/null
+++ b/third_party/WebKit/Source/modules/webaudio/AudioWorkletThreadStartupData.cpp
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "modules/webaudio/AudioWorkletThreadStartupData.h"
+
+#include "platform/weborigin/SecurityOrigin.h"
+
+namespace blink {
+
+AudioWorkletThreadStartupData::AudioWorkletThreadStartupData(const KURL& url, const String& userAgent, const SecurityOrigin* securityOrigin)
+ : m_url(url.copy())
+ , m_userAgent(userAgent.isolatedCopy())
+ , m_securityOrigin(securityOrigin->isolatedCopy())
+{
+}
+
+AudioWorkletThreadStartupData::~AudioWorkletThreadStartupData()
+{
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698