stylo: Add argument to Servo_ResolveStyle to allow stale styles to be returned.

This commit is contained in:
Cameron McCormack 2017-03-28 15:32:35 +08:00
parent 0ebb9ec9e8
commit 13c49606a4
2 changed files with 12 additions and 4 deletions

View file

@ -1812,7 +1812,8 @@ extern "C" {
}
extern "C" {
pub fn Servo_ResolveStyle(element: RawGeckoElementBorrowed,
set: RawServoStyleSetBorrowed)
set: RawServoStyleSetBorrowed,
allow_stale: bool)
-> ServoComputedValuesStrong;
}
extern "C" {