| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |