Fix Build Bustage - with "--enable-debug"

This commit is contained in:
janekptacijarabaci 2018-07-12 12:34:59 +02:00 • committed by Roy Tam
commit d57aa4fc94
4 changed files with 7 additions and 2 deletions

View file

@ -5514,7 +5514,9 @@ void HTMLMediaElement::SuspendOrResumeElement(bool aPauseElement, bool aSuspendE
} }
mEventDeliveryPaused = aSuspendEvents; mEventDeliveryPaused = aSuspendEvents;
} else { } else {
#ifdef MOZ_EME
MOZ_ASSERT(!mMediaKeys); MOZ_ASSERT(!mMediaKeys);
#endif
if (mDecoder) { if (mDecoder) {
mDecoder->Resume(); mDecoder->Resume();
if (!mPaused && !mDecoder->IsEnded()) { if (!mPaused && !mDecoder->IsEnded()) {

View file

@ -836,7 +836,7 @@ TextEditor::BeginIMEComposition(WidgetCompositionEvent* aEvent)
nsresult nsresult
TextEditor::UpdateIMEComposition(WidgetCompositionEvent* aCompositionChangeEvent) TextEditor::UpdateIMEComposition(WidgetCompositionEvent* aCompositionChangeEvent)
{ {
MOZ_ASSERT(aCompsitionChangeEvent, MOZ_ASSERT(aCompositionChangeEvent,
"aCompositionChangeEvent must not be nullptr"); "aCompositionChangeEvent must not be nullptr");
if (NS_WARN_IF(!aCompositionChangeEvent)) { if (NS_WARN_IF(!aCompositionChangeEvent)) {

View file

@ -930,6 +930,9 @@ class DebugEnvironments
void mark(JSTracer* trc); void mark(JSTracer* trc);
void sweep(JSRuntime* rt); void sweep(JSRuntime* rt);
void finish(); void finish();
#ifdef JSGC_HASH_TABLE_CHECKS
void checkHashTablesAfterMovingGC(JSRuntime* runtime);
#endif
// If a live frame has a synthesized entry in missingEnvs, make sure it's not // If a live frame has a synthesized entry in missingEnvs, make sure it's not
// collected. // collected.

View file

@ -5057,7 +5057,7 @@ nsLayoutUtils::IntrinsicForAxis(PhysicalAxis aAxis,
NS_PRECONDITION(aFrame->GetParent(), NS_PRECONDITION(aFrame->GetParent(),
"IntrinsicForAxis called on frame not in tree"); "IntrinsicForAxis called on frame not in tree");
NS_PRECONDITION(aType == MIN_ISIZE || aType == PREF_ISIZE, "bad type"); NS_PRECONDITION(aType == MIN_ISIZE || aType == PREF_ISIZE, "bad type");
MOZ_ASSERT(aFrame->GetParent()->Type() != LayoutFrameType::GridContainer || MOZ_ASSERT(aFrame->GetParent()->GetType() != nsGkAtoms::gridContainerFrame ||
aPercentageBasis.isSome(), aPercentageBasis.isSome(),
"grid layout should always pass a percentage basis"); "grid layout should always pass a percentage basis");