gecko-dev/servo/ports/geckolib
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
..
tests Bug 1555867 - Inline one child in the rule tree. r=heycam 2019-06-03 16:37:45 +00:00
Cargo.toml Bug 1567333 - Remove the ability to build Gecko without the bindgen feature. r=heycam 2019-07-18 23:39:14 +00:00
cbindgen.toml Bug 1038294 part 12 - Implement multi-keyword 'display' values for Gecko. r=emilio 2019-08-14 14:34:37 +00:00
error_reporter.rs Bug 1537876 - Augment CSS errors with the CSS selector r=emilio 2019-03-27 12:12:55 +00:00
glue.rs Bug 1568536 - Simplify some style system APIs. r=heycam 2019-08-16 05:59:03 +00:00
lib.rs Bug 1474793 - Part 11: Add FFI API to use SharedMemoryBuilder. r=emilio 2019-03-30 00:16:27 +00:00
stylesheet_loader.rs Bug 1552708 - Use cbindgen for URIs. r=heycam 2019-05-29 21:22:04 +02:00