Created attachment 8516907 [details] [diff] [review] patch
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.
Comment on attachment 8516907 [details] [diff] [review] patch https://hg.mozilla.org/integration/mozilla-inbound/rev/41551c67ac50