mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
Fix Build Bustage - with "--enable-debug"
This commit is contained in:
parent
95fa1f19d6
commit
d57aa4fc94
4 changed files with 7 additions and 2 deletions
|
|
@ -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()) {
|
||||||
|
|
|
||||||
|
|
@ -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)) {
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue