mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00

There's no real reason to restrict this to LayerSize, since we use use Layer and LayoutDevice coordinate spaces interchangeably for webrender. With the templating of the function the compiler doesn't know what type to use for {0, 0} so I added a new function to deal with that. MozReview-Commit-ID: KyabB6P6LiA --HG-- extra : rebase_source : d5fff8f21a17c433d3c8c580fdd3153140d61545