Bug 1325728 - Use Gecko's existing mechanism to coordinate flushing the Stylist. r=heycam

This commit is contained in:
Bobby Holley 2016-12-21 15:33:24 -08:00
parent b13afccb8a
commit 3ada6cf68f
2 changed files with 43 additions and 24 deletions

View file

@ -991,16 +991,18 @@ extern "C" {
}
extern "C" {
pub fn Servo_StyleSet_AppendStyleSheet(set: RawServoStyleSetBorrowed,
sheet: RawServoStyleSheetBorrowed);
sheet: RawServoStyleSheetBorrowed,
flush: bool);
}
extern "C" {
pub fn Servo_StyleSet_PrependStyleSheet(set: RawServoStyleSetBorrowed,
sheet:
RawServoStyleSheetBorrowed);
sheet: RawServoStyleSheetBorrowed,
flush: bool);
}
extern "C" {
pub fn Servo_StyleSet_RemoveStyleSheet(set: RawServoStyleSetBorrowed,
sheet: RawServoStyleSheetBorrowed);
sheet: RawServoStyleSheetBorrowed,
flush: bool);
}
extern "C" {
pub fn Servo_StyleSet_InsertStyleSheetBefore(set:
@ -1008,7 +1010,11 @@ extern "C" {
sheet:
RawServoStyleSheetBorrowed,
reference:
RawServoStyleSheetBorrowed);
RawServoStyleSheetBorrowed,
flush: bool);
}
extern "C" {
pub fn Servo_StyleSet_FlushStyleSheets(set: RawServoStyleSetBorrowed);
}
extern "C" {
pub fn Servo_StyleSet_NoteStyleSheetsChanged(set: