mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 22:35:43 +00:00
Bug 1357583: style: Hook up the invalidator in the StyleSheetSet. r=heycam
MozReview-Commit-ID: IhgKAovTJMX
This commit is contained in:
parent
70f72b8f56
commit
3793cca046
@ -54,8 +54,7 @@ SERVO_BINDING_FUNC(Servo_StyleSet_Init, RawServoStyleSetOwned, RawGeckoPresConte
|
||||
SERVO_BINDING_FUNC(Servo_StyleSet_Clear, void,
|
||||
RawServoStyleSetBorrowed set)
|
||||
SERVO_BINDING_FUNC(Servo_StyleSet_RebuildData, void,
|
||||
RawServoStyleSetBorrowed set,
|
||||
RawGeckoElementBorrowedOrNull doc_elem)
|
||||
RawServoStyleSetBorrowed set)
|
||||
SERVO_BINDING_FUNC(Servo_StyleSet_Drop, void, RawServoStyleSetOwned set)
|
||||
SERVO_BINDING_FUNC(Servo_StyleSet_AppendStyleSheet, void,
|
||||
RawServoStyleSetBorrowed set,
|
||||
|
@ -1098,8 +1098,7 @@ void
|
||||
ServoStyleSet::RebuildData()
|
||||
{
|
||||
ClearNonInheritingStyleContexts();
|
||||
Element* root = mPresContext->Document()->GetDocumentElement();
|
||||
Servo_StyleSet_RebuildData(mRawSet.get(), root);
|
||||
Servo_StyleSet_RebuildData(mRawSet.get());
|
||||
mStylistState = StylistState::NotDirty;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user