Closed Bug 1665955 Opened 4 years ago Closed 4 years ago

Reduce dependencies on nsIScrollableFrame.h

Categories

(Core :: Layout: Scrolling and Overflow, task)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(1 file)

Touching this header causes a lot of stuff to get rebuilt, I think mostly because Element.h pulls it in. Breaking that dependency doesn't look hard.

Changes to nsIScrollableFrame.h cause the world to rebuild which I find annoying.
This removes the inclusion into Element.h which is responsible for the
world-rebuilding and is relatively easy to eliminate. A bunch of usages of
nsIScrollableFrame get moved from .h files into .cpp files and I include the
header into .cpp files as needed.

Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cfb76fbd90bb
Stop including nsIScrollableFrame.h from Element.h. r=emilio
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: