Bug 1854666: Force prevent inlining of some relative selector invalidation functions. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D188996
This commit is contained in:
David Shin 2023-10-05 18:16:33 +00:00
Родитель 1708a8a34d
Коммит 9323a03ac3
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -290,6 +290,7 @@ where
E: TElement + 'a,
{
/// Gather relative selector dependencies for the given element, and invalidate as necessary.
#[inline(never)]
pub fn invalidate_relative_selectors_for_this<F>(
self,
stylist: &'a Stylist,
@ -324,6 +325,7 @@ where
}
/// Gather relative selector dependencies for the given element (And its subtree) that mutated, and invalidate as necessary.
#[inline(never)]
pub fn invalidate_relative_selectors_for_dom_mutation(
self,
subtree: bool,