зеркало из https://github.com/mozilla/gecko-dev.git
7a2c22ce65
There's no reason we can't just query LookAndFeel and we need to use sSystemMetrics. In the past, LookAndFeel queries were not cached, but this is no longer the case, so perf wise should be pretty equivalent. Note that we don't need the NS_SUCCEEDED checks because the default value from GetInt if the platform doesn't support it is 0 anyways. Differential Revision: https://phabricator.services.mozilla.com/D110805 |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
tests/unit | ||
moz.build | ||
rustfmt.toml |