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)
Core
Graphics: Text
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.
| Assignee | ||
Comment 1•6 years ago
|
||
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
Comment 3•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Updated•6 years ago
|
Assignee: nobody → jfkthame
You need to log in
before you can comment on or make changes to this bug.
Description
•