On Tuesday 2015-11-24 18:21 -0800, L. David Baron wrote:
> Presumably it's equally important to replace the remaining
> nsRenderingContext usage with DrawTarget?
> 
> (nsRenderingContext was the previous API before gfxContext.)

Er, never mind; I guess that's sort of a stupid question at this
point, since nsRenderingContext has mostly been gutted.

It still seems like, where possible, we should switch from passing
around an nsRenderingContext or a gfxContext to passing around a
DrawTarget.  (Presumably starting from leaf functions and moving
up.)

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to