Add an author_style_disabled flag to stylist.update, and associated structs.

MozReview-Commit-ID: FiXyEN4xVnU
This commit is contained in:
Brad Werth 2017-04-11 15:48:38 +08:00 committed by Brad Werth
parent 54e691b2aa
commit 91a9fb06c7
5 changed files with 29 additions and 3 deletions

View file

@ -1085,6 +1085,7 @@ impl LayoutThread {
ua_or_user: &ua_or_user_guard,
};
let mut extra_data = ExtraStyleData {
author_style_disabled: None,
marker: PhantomData,
};
let needs_dirtying = Arc::get_mut(&mut rw_data.stylist).unwrap().update(