Bug 1325215 - Fix bustage.
authorPaul Adenot <paul@paul.cx>
Wed, 18 Jan 2017 11:04:31 +0100
changeset 377207 3f73c8d5bb4d3d679bcb76882b46c1a14aa899b5
parent 377206 353266dd63ede28fd3f8f5ddd8d855f5beb7395d
child 377208 bfb900fe8b2378f00487515ac40e9908bf35becf
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1325215
milestone53.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 1325215 - Fix bustage. MozReview-Commit-ID: 6P9ccLvylG2
dom/media/webaudio/AudioContext.cpp
--- a/dom/media/webaudio/AudioContext.cpp
+++ b/dom/media/webaudio/AudioContext.cpp
@@ -797,17 +797,17 @@ AudioContext::OnStateChanged(void* aProm
     Promise* promise = reinterpret_cast<Promise*>(aPromise);
     // It is possible for the promise to have been removed from
     // mPromiseGripArray if the cycle collector has severed our connections. DO
     // NOT dereference the promise pointer in that case since it may point to
     // already freed memory.
     if (mPromiseGripArray.Contains(promise)) {
       promise->MaybeResolveWithUndefined();
       DebugOnly<bool> rv = mPromiseGripArray.RemoveElement(promise);
-      MOZ_DIAGNOSTIC_ASSERT(rv, "Promise wasn't in the grip array?");
+      MOZ_ASSERT(rv, "Promise wasn't in the grip array?");
     }
   }
 
   if (mAudioContextState != aNewState) {
     RefPtr<OnStateChangeTask> onStateChangeTask =
       new OnStateChangeTask(this);
     NS_DispatchToMainThread(onStateChangeTask);
   }