зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1325215 - Fix bustage.
MozReview-Commit-ID: 6P9ccLvylG2
This commit is contained in:
Родитель
945d697015
Коммит
fd396ecf1d
|
@ -802,7 +802,7 @@ AudioContext::OnStateChanged(void* aPromise, AudioContextState aNewState)
|
||||||
if (mPromiseGripArray.Contains(promise)) {
|
if (mPromiseGripArray.Contains(promise)) {
|
||||||
promise->MaybeResolveWithUndefined();
|
promise->MaybeResolveWithUndefined();
|
||||||
DebugOnly<bool> rv = mPromiseGripArray.RemoveElement(promise);
|
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?");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче