Closed Bug 1595617 Opened 6 years ago Closed 6 years ago

gfxFontEntry's ForgetHBFace() and ReleaseGrFace() methods do not need to be virtual

Categories

(Core :: Graphics: Text, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

The only overrides of these methods are in gfxFontconfigFontEntry, and all it does is call through to the base implementations. I guess there was a time when it needed to do something different, but now the overrides can be removed and the methods de-virtualized; there's no reason to pay virtual-call overhead for them.

Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b4aba265c9d1 Remove 'virtual' from a couple of gfxFontEntry methods that don't need to be overridden. r=lsalzman
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Assignee: nobody → jfkthame
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: