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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.cpp

Issue 2372303002: [worklets] Add AudioWorkletGlobalScope and AudioWorkletThread (Closed)
Patch Set: Fixing nits after l-g-t-m Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698