gecko-dev/servo
Emilio Cobos Álvarez 006e5cca66 Bug 1614198 - Use cbindgen instead of nsStyleImage. r=aosmond
The trickier part is that we represent -moz-image-rect as a Rect() type instead
of image with non-null clip-rect. So we need to add a bit of code to
distinguish "image request types" from other types of images.

But it's not too annoying, and we need to do the same for fancier images like
image-set and such whenever we implement it, so seems nice to get rid of
most explicit usages of nsStyleImage::GetType().

Differential Revision: https://phabricator.services.mozilla.com/D62164

--HG--
extra : moz-landing-system : lando
2020-02-11 20:56:20 +00:00
..
components Bug 1614198 - Use cbindgen instead of nsStyleImage. r=aosmond 2020-02-11 20:56:20 +00:00
ports/geckolib Bug 1614198 - Use cbindgen instead of nsStyleImage. r=aosmond 2020-02-11 20:56:20 +00:00
tests/unit
moz.build
rustfmt.toml