Closed Bug 1083761 Opened 10 years ago Closed 10 years ago

Get rid of nsLayoutUtils::NSColorToColor

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(1 file)

As pointed out my mstange in bug 1083215 comment 6, this function is equivalent to Color::FromABGR.
Attached patch patchSplinter Review
Attachment #8506122 - Flags: review?(mstange)
I also fixed up a bunch of other code that is doing the Color::FromABGR by hand to use that method.
Attachment #8506122 - Flags: review?(mstange) → review+
Comment on attachment 8506122 [details] [diff] [review]
patch

https://hg.mozilla.org/integration/mozilla-inbound/rev/f7f5057765f9

Given the changes in bug 1084093, this patch became a lot smaller for landing.
Attachment #8506122 - Flags: checkin+
https://hg.mozilla.org/mozilla-central/rev/f7f5057765f9
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.