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 |