Closed Bug 1283967 Opened 8 years ago Closed 8 years ago

Remove unused function SurfaceCache::RemoveEntry() (until recently called SurfaceCache::RemoveSurface())

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: seth, Assigned: seth)

References

Details

Attachments

(1 file)

While working on bug 1282327 I noticed that SurfaceCache::RemoveEntry() (which was called SurfaceCache::RemoveSurface() until that bug) is never actually called. SurfaceCache's implementation uses it internally, but since there are no external callers, we can remove it from the API.
Here's the patch. Deleting code always feels good.
Attachment #8767385 - Flags: review?(dholbert)
Attachment #8767385 - Flags: review?(dholbert) → review+
Pushed by mfowler@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/872c20729763
Remove unused function SurfaceCache::RemoveEntry(). r=dholbert
https://hg.mozilla.org/mozilla-central/rev/872c20729763
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: