Bug 1797805: Run clang-format on layout directory. r=dshin

This patch doesn't change behavior.  The changes were auto-generated by the
following command:
    ./mach clang-format -p layout/

Differential Revision: https://phabricator.services.mozilla.com/D160552
This commit is contained in:
Daniel Holbert
2022-10-27 17:50:45 +00:00
parent 68149ea2a7
commit aae9de0627
4 changed files with 4 additions and 7 deletions

View File

@@ -3784,7 +3784,7 @@ bool PresShell::ScrollFrameIntoView(
const nsPoint pos = aFrame->GetPosition();
const nsPoint normalPos = aFrame->GetNormalPosition();
if (pos == normalPos) {
return; // Frame is not stuck.
return; // Frame is not stuck.
}
// If we're targetting a sticky element, make sure not to apply
// scroll-padding on the direction we're stuck.