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 Bug 1474793 - Part 7: Add SharedMemoryBuilder type and ToShmem trait. r=emilio 2019-03-30 00:15:59 +00:00
rustfmt.toml Bug 1505618 - Add Servo's rustfmt.toml to the servo/ directory. r=heycam 2018-11-08 00:50:17 +01:00