Bug 1502004 - Move AudioWorkletGlobalScope from dom/worklet to dom/media/webaudio. r=karlt
authorArnaud Bienner <arnaud.bienner@gmail.com>
Thu, 25 Oct 2018 18:50:05 +0000
changeset 443051 ab9ceb6da1e5d951e48d1a2490fc1c84354b18b4
parent 443050 0f30ba8cfeecb4237be48d17b88cc729f993028f
child 443052 13372afaba779afec99af4e3dd6b0609f460c627
push id109289
push userccoroiu@mozilla.com
push dateFri, 26 Oct 2018 04:51:46 +0000
treeherdermozilla-inbound@bafc89c8101a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt
bugs1502004
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1502004 - Move AudioWorkletGlobalScope from dom/worklet to dom/media/webaudio. r=karlt Differential Revision: https://phabricator.services.mozilla.com/D9768
dom/media/webaudio/AudioWorkletGlobalScope.cpp
dom/media/webaudio/AudioWorkletGlobalScope.h
dom/media/webaudio/moz.build
dom/worklet/AudioWorkletGlobalScope.cpp
dom/worklet/AudioWorkletGlobalScope.h
dom/worklet/moz.build
rename from dom/worklet/AudioWorkletGlobalScope.cpp
rename to dom/media/webaudio/AudioWorkletGlobalScope.cpp
--- a/dom/worklet/AudioWorkletGlobalScope.cpp
+++ b/dom/media/webaudio/AudioWorkletGlobalScope.cpp
@@ -2,17 +2,17 @@
 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "AudioWorkletGlobalScope.h"
 #include "jsapi.h"
 #include "mozilla/dom/AudioWorkletGlobalScopeBinding.h"
-#include "WorkletPrincipal.h"
+#include "mozilla/dom/WorkletPrincipal.h"
 
 namespace mozilla {
 namespace dom {
 
 NS_IMPL_CYCLE_COLLECTION_INHERITED(AudioWorkletGlobalScope, WorkletGlobalScope,
                                    mNameToProcessorMap);
 
 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(AudioWorkletGlobalScope)
rename from dom/worklet/AudioWorkletGlobalScope.h
rename to dom/media/webaudio/AudioWorkletGlobalScope.h
--- a/dom/media/webaudio/moz.build
+++ b/dom/media/webaudio/moz.build
@@ -45,16 +45,17 @@ EXPORTS.mozilla.dom += [
     'AudioContext.h',
     'AudioDestinationNode.h',
     'AudioListener.h',
     'AudioNode.h',
     'AudioParam.h',
     'AudioParamMap.h',
     'AudioProcessingEvent.h',
     'AudioScheduledSourceNode.h',
+    'AudioWorkletGlobalScope.h',
     'AudioWorkletNode.h',
     'AudioWorkletProcessor.h',
     'BiquadFilterNode.h',
     'ChannelMergerNode.h',
     'ChannelSplitterNode.h',
     'ConstantSourceNode.h',
     'ConvolverNode.h',
     'DelayNode.h',
@@ -84,16 +85,17 @@ UNIFIED_SOURCES += [
     'AudioNode.cpp',
     'AudioNodeEngine.cpp',
     'AudioNodeExternalInputStream.cpp',
     'AudioNodeStream.cpp',
     'AudioParam.cpp',
     'AudioParamMap.cpp',
     'AudioProcessingEvent.cpp',
     'AudioScheduledSourceNode.cpp',
+    'AudioWorkletGlobalScope.cpp',
     'AudioWorkletImpl.cpp',
     'AudioWorkletNode.cpp',
     'AudioWorkletProcessor.cpp',
     'BiquadFilterNode.cpp',
     'ChannelMergerNode.cpp',
     'ChannelSplitterNode.cpp',
     'ConstantSourceNode.cpp',
     'ConvolverNode.cpp',
--- a/dom/worklet/moz.build
+++ b/dom/worklet/moz.build
@@ -3,27 +3,25 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 with Files("**"):
     BUG_COMPONENT = ("Core", "DOM")
 
 EXPORTS.mozilla.dom += [
-    'AudioWorkletGlobalScope.h',
     'PaintWorkletGlobalScope.h',
     'Worklet.h',
     'WorkletGlobalScope.h',
     'WorkletImpl.h',
     'WorkletPrincipal.h',
     'WorkletThread.h',
 ]
 
 UNIFIED_SOURCES += [
-    'AudioWorkletGlobalScope.cpp',
     'PaintWorkletGlobalScope.cpp',
     'Worklet.cpp',
     'WorkletGlobalScope.cpp',
     'WorkletImpl.cpp',
     'WorkletPrincipal.cpp',
     'WorkletThread.cpp',
 ]