| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "modules/webaudio/AudioWorkletGlobalScope.h" |
| 6 |
| 7 #include "platform/weborigin/SecurityOrigin.h" |
| 8 |
| 9 namespace blink { |
| 10 |
| 11 AudioWorkletGlobalScope* AudioWorkletGlobalScope::create( |
| 12 const KURL& url, |
| 13 const String& userAgent, |
| 14 PassRefPtr<SecurityOrigin> securityOrigin, |
| 15 v8::Isolate* isolate, |
| 16 WorkerThread* thread) { |
| 17 return new AudioWorkletGlobalScope(url, userAgent, std::move(securityOrigin), |
| 18 isolate, thread); |
| 19 } |
| 20 |
| 21 AudioWorkletGlobalScope::AudioWorkletGlobalScope( |
| 22 const KURL& url, |
| 23 const String& userAgent, |
| 24 PassRefPtr<SecurityOrigin> securityOrigin, |
| 25 v8::Isolate* isolate, |
| 26 WorkerThread* thread) |
| 27 : ThreadedWorkletGlobalScope(url, |
| 28 userAgent, |
| 29 std::move(securityOrigin), |
| 30 isolate, |
| 31 thread) {} |
| 32 |
| 33 AudioWorkletGlobalScope::~AudioWorkletGlobalScope() {} |
| 34 |
| 35 } // namespace blink |
| OLD | NEW |