Bug 1937785: apply code formatting via Lando
# ignore-this-changeset
This commit is contained in:
@@ -11419,7 +11419,8 @@ void PresShell::MaybeRecreateMobileViewportManager(bool aAfterInitialization) {
|
|||||||
(int)*mvmType, uri ? uri->GetSpecOrDefault().get() : "(null)"));
|
(int)*mvmType, uri ? uri->GetSpecOrDefault().get() : "(null)"));
|
||||||
}
|
}
|
||||||
if (BrowserChild* browserChild = BrowserChild::GetFrom(this)) {
|
if (BrowserChild* browserChild = BrowserChild::GetFrom(this)) {
|
||||||
mMobileViewportManager->UpdateKeyboardHeight(browserChild->GetKeyboardHeight());
|
mMobileViewportManager->UpdateKeyboardHeight(
|
||||||
|
browserChild->GetKeyboardHeight());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -129,11 +129,7 @@ class ScrollAnchorContainer;
|
|||||||
|
|
||||||
// 039d8ffc-fa55-42d7-a53a-388cb129b052
|
// 039d8ffc-fa55-42d7-a53a-388cb129b052
|
||||||
#define NS_PRESSHELL_IID \
|
#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
|
#undef NOISY_INTERRUPTIBLE_REFLOW
|
||||||
|
|
||||||
|
|||||||
@@ -8174,9 +8174,9 @@ bool nsLayoutUtils::UpdateCompositionBoundsForRCDRSF(
|
|||||||
if (shouldSubtractDynamicToolbar == SubtractDynamicToolbar::Yes &&
|
if (shouldSubtractDynamicToolbar == SubtractDynamicToolbar::Yes &&
|
||||||
// In `overlays-content` mode with the software keyboard visible, avoid
|
// In `overlays-content` mode with the software keyboard visible, avoid
|
||||||
// flipping `shouldSubtractDynamicToolbar` below. We want to exclude
|
// flipping `shouldSubtractDynamicToolbar` below. We want to exclude
|
||||||
// the dynamic toolbar height from the visual viewport (composition bounds)
|
// the dynamic toolbar height from the visual viewport (composition
|
||||||
// height in this case to be consistent with the handling of the layout
|
// bounds) height in this case to be consistent with the handling of the
|
||||||
// viewport height in ExpandHeightForDynamicToolbar(). Otherwise,
|
// layout viewport height in ExpandHeightForDynamicToolbar(). Otherwise,
|
||||||
// the visual viewport will be taller than the layout viewport which can
|
// the visual viewport will be taller than the layout viewport which can
|
||||||
// lead to rendering problems.
|
// lead to rendering problems.
|
||||||
!isKeyboardVisibleOnOverlaysContent) {
|
!isKeyboardVisibleOnOverlaysContent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user