diff --git a/layout/base/PresShell.cpp b/layout/base/PresShell.cpp index bb47abd38841..4bc52a2305e5 100644 --- a/layout/base/PresShell.cpp +++ b/layout/base/PresShell.cpp @@ -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()); } } diff --git a/layout/base/PresShell.h b/layout/base/PresShell.h index afa6434293b1..ea3569da1ab8 100644 --- a/layout/base/PresShell.h +++ b/layout/base/PresShell.h @@ -128,12 +128,8 @@ class ScrollAnchorContainer; } // namespace layout // 039d8ffc-fa55-42d7-a53a-388cb129b052 -#define NS_PRESSHELL_IID \ - { \ - 0x039d8ffc, 0xfa55, 0x42d7, { \ - 0xa5, 0x3a, 0x38, 0x8c, 0xb1, 0x29, 0xb0, 0x52 \ - } \ - } +#define NS_PRESSHELL_IID \ + {0x039d8ffc, 0xfa55, 0x42d7, {0xa5, 0x3a, 0x38, 0x8c, 0xb1, 0x29, 0xb0, 0x52}} #undef NOISY_INTERRUPTIBLE_REFLOW diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp index 7ba55f49fc5e..676bfdeae967 100644 --- a/layout/base/nsLayoutUtils.cpp +++ b/layout/base/nsLayoutUtils.cpp @@ -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) { diff --git a/layout/base/nsPresContext.cpp b/layout/base/nsPresContext.cpp index 5c7c54e8c85b..9d7e732ec0fd 100644 --- a/layout/base/nsPresContext.cpp +++ b/layout/base/nsPresContext.cpp @@ -1773,7 +1773,7 @@ void nsPresContext::RecordInteractionTime(InteractionType aType, // Array of references to the member variable of each time stamp // for the different interaction types, keyed by InteractionType. - TimeStamp nsPresContext::*interactionTimes[] = { + TimeStamp nsPresContext::* interactionTimes[] = { &nsPresContext::mFirstClickTime, &nsPresContext::mFirstKeyTime, &nsPresContext::mFirstMouseMoveTime, &nsPresContext::mFirstScrollTime}; @@ -1809,7 +1809,7 @@ void nsPresContext::RecordInteractionTime(InteractionType aType, // Check if we are recording the first of any of the interaction types. bool isFirstInteraction = true; - for (TimeStamp nsPresContext::*memberPtr : interactionTimes) { + for (TimeStamp nsPresContext::* memberPtr : interactionTimes) { TimeStamp& timeStamp = this->*(memberPtr); if (!timeStamp.IsNull()) { isFirstInteraction = false;