Convert DCFromContext to DCFromDrawTarget

RESOLVED FIXED in mozilla36

Status

()

Core
Graphics
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: jwatt, Assigned: jwatt)

Tracking

(Blocks: 1 bug)

Trunk
mozilla36
x86
Windows 8.1
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Comment hidden (empty)
Created attachment 8516907 [details] [diff] [review]
patch
Attachment #8516907 - Flags: review?(bas)
Given that the only remaining user of this is gfxGDIFont, how about moving it to that .cpp file as a private helper class, along with the update you're doing here?
There is other code that wants to get DC's including widget code. I expect to reuse the helper class there in the not too distant future as I convert that code Moz2D.
Ah, sounds fine.
Attachment #8516907 - Flags: review?(bas) → review+
Comment on attachment 8516907 [details] [diff] [review]
patch

https://hg.mozilla.org/integration/mozilla-inbound/rev/41551c67ac50
Attachment #8516907 - Flags: checkin+
https://hg.mozilla.org/mozilla-central/rev/41551c67ac50
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36

Updated

3 years ago
Depends on: 1100448
You need to log in before you can comment on or make changes to this bug.