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

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

Issue 2793593002: AudioWorklet prototype
Patch Set: Rebase after ThreadedWorkletMessaginProxy change Created 3 years, 6 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/webaudio/AudioWorkletProcessorDefinition.h" 5 #include "modules/webaudio/AudioWorkletProcessorDefinition.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 AudioWorkletProcessorDefinition* AudioWorkletProcessorDefinition::Create( 9 AudioWorkletProcessorDefinition* AudioWorkletProcessorDefinition::Create(
10 v8::Isolate* isolate, 10 v8::Isolate* isolate,
(...skipping 21 matching lines...) Expand all
32 DCHECK(!IsMainThread()); 32 DCHECK(!IsMainThread());
33 return constructor_.NewLocal(isolate); 33 return constructor_.NewLocal(isolate);
34 } 34 }
35 35
36 v8::Local<v8::Function> AudioWorkletProcessorDefinition::ProcessLocal( 36 v8::Local<v8::Function> AudioWorkletProcessorDefinition::ProcessLocal(
37 v8::Isolate* isolate) { 37 v8::Isolate* isolate) {
38 DCHECK(!IsMainThread()); 38 DCHECK(!IsMainThread());
39 return process_.NewLocal(isolate); 39 return process_.NewLocal(isolate);
40 } 40 }
41 41
42 DEFINE_TRACE(AudioWorkletProcessorDefinition) {
43 visitor->Trace(audio_param_descriptors_);
44 }
45
42 } // namespace blink 46 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698