Skip to content

Commit

Permalink
Bug 1795661 - Fix typo fixed in the following patch of the bug that c…
Browse files Browse the repository at this point in the history
…auses orange.

MANUAL PUSH: Orange fix CLOSED TREE.
  • Loading branch information
emilio committed Oct 18, 2022
1 parent 58bf0f4 commit 4f21586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/base/PresShell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3776,7 +3776,7 @@ bool PresShell::ScrollFrameIntoView(
// bounds of all our continuations relative to it. We shouldn't jump out of
// our nearest scrollable frame, and that's an ok reference frame, so try to
// use that, or the root frame if there's nothing to scroll in this document.
nsIFrame* container = nsLayoutUtils::GetClosestFrameOfType(
container = nsLayoutUtils::GetClosestFrameOfType(
aTargetFrame->GetParent(), LayoutFrameType::Scroll);
if (!container) {
container = aTargetFrame->PresShell()->GetRootFrame();
Expand Down

0 comments on commit 4f21586

Please sign in to comment.