gecko-dev/servo
Emilio Cobos Álvarez a03875ef63 Bug 1568536 - Simplify some style system APIs. r=heycam
Return a raw pointer instead of a strong reference to a ComputedStyle, and
handle the case of the style not being present by returning null rather than
requiring an extra function to check it and crashing if the precondition is not
met.

Also, name them so that it's clear they just return outdated styles and don't
make any extra effort.

This is just cleanup that makes the next patch easier / more obvious.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 05:59:03 +00:00
..
components Bug 1574060 - Implement layout for 'display: flow-root list-item'. r=emilio 2019-08-16 06:30:24 +00:00
ports/geckolib Bug 1568536 - Simplify some style system APIs. r=heycam 2019-08-16 05:59:03 +00:00
tests/unit Bug 1567241 - Update to euclid 0.20. r=kvark, emilio. 2019-07-18 22:54:16 +02:00
moz.build
rustfmt.toml