Bug 1392976 - Do not assert IsOnMessageLoopThread() in ChromiumCDMChild::GetCurrentWallTime(). r=cpearce, a=lizzard
authorJames Cheng <jacheng@mozilla.com>
Wed, 23 Aug 2017 17:40:14 +0800
changeset 423746 c142cf8ec91dd97734f938d77e249ae311f51e98
parent 423745 11a0a65894a4680d910ccfd40f9c58fad136b40a
child 423747 c0bd0885603f93a6e03eed0e00e786d438565791
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce, lizzard
bugs1392976
milestone56.0
Bug 1392976 - Do not assert IsOnMessageLoopThread() in ChromiumCDMChild::GetCurrentWallTime(). r=cpearce, a=lizzard MozReview-Commit-ID: Je4uTzFtLih
dom/media/gmp/ChromiumCDMChild.cpp
--- a/dom/media/gmp/ChromiumCDMChild.cpp
+++ b/dom/media/gmp/ChromiumCDMChild.cpp
@@ -180,17 +180,16 @@ ChromiumCDMChild::SetTimer(int64_t aDela
   SetTimerOnMainThread(NewGMPTask([self, aContext]() {
     self->TimerExpired(aContext);
   }), aDelayMs);
 }
 
 cdm::Time
 ChromiumCDMChild::GetCurrentWallTime()
 {
-  MOZ_ASSERT(IsOnMessageLoopThread());
   return base::Time::Now().ToDoubleT();
 }
 
 template <typename MethodType, typename... ParamType>
 void
 ChromiumCDMChild::CallMethod(MethodType aMethod, ParamType&&... aParams)
 {
   MOZ_ASSERT(IsOnMessageLoopThread());