Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 6925985

Browse files
author
Otto Länd
committed
Bug 1937785: apply code formatting via Lando
# ignore-this-changeset
1 parent 98c8b69 commit 6925985

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

layout/base/PresShell.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11419,7 +11419,8 @@ void PresShell::MaybeRecreateMobileViewportManager(bool aAfterInitialization) {
1141911419
(int)*mvmType, uri ? uri->GetSpecOrDefault().get() : "(null)"));
1142011420
}
1142111421
if (BrowserChild* browserChild = BrowserChild::GetFrom(this)) {
11422-
mMobileViewportManager->UpdateKeyboardHeight(browserChild->GetKeyboardHeight());
11422+
mMobileViewportManager->UpdateKeyboardHeight(
11423+
browserChild->GetKeyboardHeight());
1142311424
}
1142411425
}
1142511426

layout/base/PresShell.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,8 @@ class ScrollAnchorContainer;
128128
} // namespace layout
129129

130130
// 039d8ffc-fa55-42d7-a53a-388cb129b052
131-
#define NS_PRESSHELL_IID \
132-
{ \
133-
0x039d8ffc, 0xfa55, 0x42d7, { \
134-
0xa5, 0x3a, 0x38, 0x8c, 0xb1, 0x29, 0xb0, 0x52 \
135-
} \
136-
}
131+
#define NS_PRESSHELL_IID \
132+
{0x039d8ffc, 0xfa55, 0x42d7, {0xa5, 0x3a, 0x38, 0x8c, 0xb1, 0x29, 0xb0, 0x52}}
137133

138134
#undef NOISY_INTERRUPTIBLE_REFLOW
139135

layout/base/nsLayoutUtils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8174,9 +8174,9 @@ bool nsLayoutUtils::UpdateCompositionBoundsForRCDRSF(
81748174
if (shouldSubtractDynamicToolbar == SubtractDynamicToolbar::Yes &&
81758175
// In `overlays-content` mode with the software keyboard visible, avoid
81768176
// flipping `shouldSubtractDynamicToolbar` below. We want to exclude
8177-
// the dynamic toolbar height from the visual viewport (composition bounds)
8178-
// height in this case to be consistent with the handling of the layout
8179-
// viewport height in ExpandHeightForDynamicToolbar(). Otherwise,
8177+
// the dynamic toolbar height from the visual viewport (composition
8178+
// bounds) height in this case to be consistent with the handling of the
8179+
// layout viewport height in ExpandHeightForDynamicToolbar(). Otherwise,
81808180
// the visual viewport will be taller than the layout viewport which can
81818181
// lead to rendering problems.
81828182
!isKeyboardVisibleOnOverlaysContent) {

layout/base/nsPresContext.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ void nsPresContext::RecordInteractionTime(InteractionType aType,
17731773

17741774
// Array of references to the member variable of each time stamp
17751775
// for the different interaction types, keyed by InteractionType.
1776-
TimeStamp nsPresContext::*interactionTimes[] = {
1776+
TimeStamp nsPresContext::* interactionTimes[] = {
17771777
&nsPresContext::mFirstClickTime, &nsPresContext::mFirstKeyTime,
17781778
&nsPresContext::mFirstMouseMoveTime, &nsPresContext::mFirstScrollTime};
17791779

@@ -1809,7 +1809,7 @@ void nsPresContext::RecordInteractionTime(InteractionType aType,
18091809

18101810
// Check if we are recording the first of any of the interaction types.
18111811
bool isFirstInteraction = true;
1812-
for (TimeStamp nsPresContext::*memberPtr : interactionTimes) {
1812+
for (TimeStamp nsPresContext::* memberPtr : interactionTimes) {
18131813
TimeStamp& timeStamp = this->*(memberPtr);
18141814
if (!timeStamp.IsNull()) {
18151815
isFirstInteraction = false;

0 commit comments

Comments
 (0)