Bug 1823455 - Merge ScrollFrameHelper and nsHTMLScrollFrame. r=layout-reviewers,TYLin
Now that we've removed nsXULScrollFrame, ScrollFrameHelper can be subsumed under nsHTMLScrollFrame. I want to do this before making scrollbars non-XUL. Renaming to mozilla::ScrollFrame is left for a follow-up bug. Differential Revision: https://phabricator.services.mozilla.com/D173063
This commit is contained in:
@@ -5973,7 +5973,7 @@ void PresShell::MarkFramesInSubtreeApproximatelyVisible(
|
||||
// We can properly set the base rect for root scroll frames on top level
|
||||
// and root content documents. Otherwise the base rect we compute might
|
||||
// be way too big without the limiting that
|
||||
// ScrollFrameHelper::DecideScrollableLayer does, so we just ignore the
|
||||
// nsHTMLScrollFrame::DecideScrollableLayer does, so we just ignore the
|
||||
// displayport in that case.
|
||||
nsPresContext* pc = aFrame->PresContext();
|
||||
if (scrollFrame->IsRootScrollFrameOfDocument() &&
|
||||
|
||||
Reference in New Issue
Block a user