Bug 1937785: apply code formatting via Lando

# ignore-this-changeset
This commit is contained in:
Otto Länd
2025-01-22 20:53:14 +00:00
parent 8df1d2abc1
commit ece523b51a
4 changed files with 9 additions and 12 deletions

View File

@@ -11419,7 +11419,8 @@ void PresShell::MaybeRecreateMobileViewportManager(bool aAfterInitialization) {
(int)*mvmType, uri ? uri->GetSpecOrDefault().get() : "(null)"));
}
if (BrowserChild* browserChild = BrowserChild::GetFrom(this)) {
mMobileViewportManager->UpdateKeyboardHeight(browserChild->GetKeyboardHeight());
mMobileViewportManager->UpdateKeyboardHeight(
browserChild->GetKeyboardHeight());
}
}

View File

@@ -129,11 +129,7 @@ class ScrollAnchorContainer;
// 039d8ffc-fa55-42d7-a53a-388cb129b052
#define NS_PRESSHELL_IID \
{ \
0x039d8ffc, 0xfa55, 0x42d7, { \
0xa5, 0x3a, 0x38, 0x8c, 0xb1, 0x29, 0xb0, 0x52 \
} \
}
{0x039d8ffc, 0xfa55, 0x42d7, {0xa5, 0x3a, 0x38, 0x8c, 0xb1, 0x29, 0xb0, 0x52}}
#undef NOISY_INTERRUPTIBLE_REFLOW

View File

@@ -8174,9 +8174,9 @@ bool nsLayoutUtils::UpdateCompositionBoundsForRCDRSF(
if (shouldSubtractDynamicToolbar == SubtractDynamicToolbar::Yes &&
// In `overlays-content` mode with the software keyboard visible, avoid
// flipping `shouldSubtractDynamicToolbar` below. We want to exclude
// the dynamic toolbar height from the visual viewport (composition bounds)
// height in this case to be consistent with the handling of the layout
// viewport height in ExpandHeightForDynamicToolbar(). Otherwise,
// the dynamic toolbar height from the visual viewport (composition
// bounds) height in this case to be consistent with the handling of the
// layout viewport height in ExpandHeightForDynamicToolbar(). Otherwise,
// the visual viewport will be taller than the layout viewport which can
// lead to rendering problems.
!isKeyboardVisibleOnOverlaysContent) {