stylo: Call Gecko_SetOwnerDocumentNeedsStyleFlush after setting has_dirty_descendants on a style root.

This commit is contained in:
Cameron McCormack 2017-02-10 10:20:42 +08:00
parent e985ad5422
commit 10994ea758
2 changed files with 6 additions and 0 deletions

View file

@ -633,6 +633,10 @@ extern "C" {
extern "C" {
pub fn Gecko_UnsetNodeFlags(node: RawGeckoNodeBorrowed, flags: u32);
}
extern "C" {
pub fn Gecko_SetOwnerDocumentNeedsStyleFlush(element:
RawGeckoElementBorrowed);
}
extern "C" {
pub fn Gecko_GetStyleContext(node: RawGeckoNodeBorrowed,
aPseudoTagOrNull: *mut nsIAtom)