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

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

Issue 2372303002: [worklets] Add AudioWorkletGlobalScope and AudioWorkletThread (Closed)
Patch Set: Add a unit test for AudioWorkletThread 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(const KURL& url, const String& userAgent, PassRefPtr<SecurityOrigin> securityOrigin, v8::Isolate* isola te, WorkerThread* thread)
12 {
13 return new AudioWorkletGlobalScope(url, userAgent, std::move(securityOrigin) , isolate, thread);
14 }
15
16 AudioWorkletGlobalScope::AudioWorkletGlobalScope(const KURL& url, const String& userAgent, PassRefPtr<SecurityOrigin> securityOrigin, v8::Isolate* isolate, Work erThread* thread)
17 : ThreadedWorkletGlobalScope(url, userAgent, std::move(securityOrigin), isol ate, thread)
18 {
19 }
20
21 AudioWorkletGlobalScope::~AudioWorkletGlobalScope()
22 {
23 }
24
25 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698