Closed Bug 1518965 Opened 5 years ago Closed 5 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: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Assignee: nobody → bwerth
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: