Closed Bug 1518965 Opened 2 years ago Closed 2 years ago

nsPresContext::mLastResizeEventVisibleArea is unused and should be removed

Categories

(Core :: Layout, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: bradwerth, Assigned: bradwerth)

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/search?q=symbol:F_%3CT_nsPresContext%3E_mLastResizeEventVisibleArea&redirect=false

This symbol is initialized and used in two functions, but those two functions are never called. The compiler is optimizing this code away. Let's remove it entirely.

Pushed by bwerth@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/606870290cd6
Remove nsPresContext::mLastResizeEventVisibleArea and accessor functions that are never used. r=botond
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.