Closed Bug 1506580 Opened 6 years ago Closed 6 years ago

Remove useless pointer-chase + function call in nsPresContext::AppUnitsPerDevPixel.

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I don't expect this to fix bug 1424968 entirely, but it should make it a bit better.
We already keep a cached version of the up-to-date value in nsPresContext,
there's no need to go through nsDeviceContext at all.

I don't expect this to fix bug 1424968 entirely, but it should make it a bit
better.
Priority: -- → P3
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/b208cb6b1aa4
Remove useless pointer-chase + function call in nsPresContext::AppUnitsPerDevPixel. r=miko
https://hg.mozilla.org/mozilla-central/rev/b208cb6b1aa4
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: