зеркало из https://github.com/mozilla/gecko-dev.git
a03875ef63
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 |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
tests/unit | ||
moz.build | ||
rustfmt.toml |