Remove useless conversion from gfx::SurfaceFormat to gfx::SurfaceFormat in ImageClient

RESOLVED FIXED in mozilla35

Status

()

Core
Graphics: Layers
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: nical, Assigned: nical)

Tracking

unspecified
mozilla35
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
http://dxr.mozilla.org/mozilla-central/source/gfx/layers/client/ImageClient.cpp?from=ImageClient.cpp#307

gfx::SurfaceFormat -> gfxContentType -> gfxImageFormat -> gfx::SurfaceFormat
It's a funny leftover from incrementally moving from thebes to Moz2D :)
(Assignee)

Comment 1

3 years ago
Created attachment 8494644 [details] [diff] [review]
remove useless roundtrip
Assignee: nobody → nical.bugzilla
Attachment #8494644 - Flags: review?(jmuizelaar)
Attachment #8494644 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/mozilla-central/rev/0dc9b8227fb8
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.