Bug 1530137 - Fix left out dom namespace references in tasks. r=mjf
authorJean-Yves Avenard <jyavenard@mozilla.com>
Mon, 25 Feb 2019 16:29:06 +0000
changeset 461009 46ca7bb91c8e3315a7caaa0a73eb32a7c0b604a4
parent 461008 35606fc8f21a2fd01bf1f06e5ca2b4004188d052
child 461010 ecb22648747e03be200af692c6c02c3eb0e2dac3
push id35613
push usernerli@mozilla.com
push dateTue, 26 Feb 2019 03:52:35 +0000
treeherdermozilla-central@faec87a80ed1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmjf
bugs1530137
milestone67.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 1530137 - Fix left out dom namespace references in tasks. r=mjf Differential Revision: https://phabricator.services.mozilla.com/D20940
dom/media/ipc/RemoteDecoderModule.cpp
--- a/dom/media/ipc/RemoteDecoderModule.cpp
+++ b/dom/media/ipc/RemoteDecoderModule.cpp
@@ -61,17 +61,17 @@ already_AddRefed<MediaDataDecoder> Remot
       child, RemoteDecoderManagerChild::GetManagerThread(),
       RemoteDecoderManagerChild::GetManagerAbstractThread());
 
   // (per Matt Woodrow) We can't use NS_DISPATCH_SYNC here since that
   // can spin the event loop while it waits.
   SynchronousTask task("InitIPDL");
   MediaResult result(NS_OK);
   RemoteDecoderManagerChild::GetManagerThread()->Dispatch(
-      NS_NewRunnableFunction("dom::RemoteDecoderModule::CreateAudioDecoder",
+      NS_NewRunnableFunction("RemoteDecoderModule::CreateAudioDecoder",
                              [&, child]() {
                                AutoCompleteTask complete(&task);
                                result = child->InitIPDL(aParams.AudioConfig(),
                                                         aParams.mOptions);
                              }),
       NS_DISPATCH_NORMAL);
   task.Wait();
 
@@ -101,17 +101,17 @@ already_AddRefed<MediaDataDecoder> Remot
       child, RemoteDecoderManagerChild::GetManagerThread(),
       RemoteDecoderManagerChild::GetManagerAbstractThread());
 
   // (per Matt Woodrow) We can't use NS_DISPATCH_SYNC here since that
   // can spin the event loop while it waits.
   SynchronousTask task("InitIPDL");
   MediaResult result(NS_OK);
   RemoteDecoderManagerChild::GetManagerThread()->Dispatch(
-      NS_NewRunnableFunction("dom::RemoteDecoderModule::CreateVideoDecoder",
+      NS_NewRunnableFunction("RemoteDecoderModule::CreateVideoDecoder",
                              [&, child]() {
                                AutoCompleteTask complete(&task);
                                result = child->InitIPDL(aParams.VideoConfig(),
                                                         aParams.mRate.mValue,
                                                         aParams.mOptions);
                              }),
       NS_DISPATCH_NORMAL);
   task.Wait();