Bug 1520559. Move DataMutex from EME to xpcom/threads. r=froydnj
authorJeff Muizelaar <jrmuizel@gmail.com>
Thu, 17 Jan 2019 15:09:18 +0000
changeset 511389 accc4d418bd11369da1dca52b3ed0ae6d7dea31d
parent 511388 de634684229e8c53ceb03b56dd45e52a1a0af9e1
child 511390 17af08445298eac6597da43c2610d06f4b6a3dc0
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1520559
milestone66.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 1520559. Move DataMutex from EME to xpcom/threads. r=froydnj This is a better place for it and is more appropriate given that it already exports to mozilla/DataMutex.h. I'll fix the rvalue reference problems in a follow up. Differential Revision: https://phabricator.services.mozilla.com/D16723
dom/media/eme/DataMutex.h
dom/media/eme/moz.build
xpcom/threads/DataMutex.h
xpcom/threads/moz.build
--- a/dom/media/eme/moz.build
+++ b/dom/media/eme/moz.build
@@ -13,17 +13,16 @@ EXPORTS.mozilla.dom += [
     'MediaKeyStatusMap.h',
     'MediaKeySystemAccess.h',
     'MediaKeySystemAccessManager.h',
 ]
 
 EXPORTS.mozilla += [
     'CDMCaps.h',
     'CDMProxy.h',
-    'DataMutex.h',
     'DecryptorProxyCallback.h',
     'DetailedPromise.h',
     'EMEUtils.h',
 ]
 
 UNIFIED_SOURCES += [
     'CDMCaps.cpp',
     'DetailedPromise.cpp',
rename from dom/media/eme/DataMutex.h
rename to xpcom/threads/DataMutex.h
--- a/xpcom/threads/moz.build
+++ b/xpcom/threads/moz.build
@@ -38,16 +38,17 @@ EXPORTS += [
 
 EXPORTS.mozilla += [
     'AbstractEventQueue.h',
     'AbstractThread.h',
     'BlockingResourceBase.h',
     'CondVar.h',
     'CooperativeThreadPool.h',
     'CPUUsageWatcher.h',
+    'DataMutex.h',
     'DeadlockDetector.h',
     'EventQueue.h',
     'IdleTaskRunner.h',
     'LazyIdleThread.h',
     'MainThreadIdlePeriod.h',
     'Monitor.h',
     'MozPromise.h',
     'Mutex.h',