Closed Bug 1656117 Opened 4 years ago Closed 4 years ago

Touching nsRefreshDriver.h rebuilds the world

Categories

(Core :: Web Painting, defect)

defect

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: mstange, Assigned: sg)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

It would be great if we could reduce the build time cost of changing nsRefreshDriver.h.

My naive guess would be that the biggest hit comes from the #include in nsGlobalWindowInner.h, and I don't see any mention of "RefreshDriver" in that file.

nsGlobalWindowInner.h must include nsRefreshDriver.h for nsAPostRefreshObserver, which might be moved to a separate header file to resolve this, as it does not have any further dependencies.

The abstract observer base classes are moved to a separate header file
nsRefreshObservers.h and the includes are adjusted accordingly.

Some method implementations are moved to the corresponding implementation files
to avoid the need to include the nsRefreshDriver.h file in the header.

Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c199c6518db4
Reduce include dependencies on nsRefreshDriver.h. r=mstange
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: