mirror of
https://github.com/servo/servo.git
synced 2025-07-12 09:53:40 +01:00
Bug 1325728 - Use Gecko's existing mechanism to coordinate flushing the Stylist. r=heycam
This commit is contained in:
parent
b13afccb8a
commit
3ada6cf68f
2 changed files with 43 additions and 24 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue