mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #2112 - Part 6: Remove IsStyledByServo function and callers
This commit is contained in:
parent
a93a7bed47
commit
10bf8705d0
13 changed files with 16 additions and 181 deletions
|
|
@ -166,8 +166,6 @@ RestyleTracker::DoProcessRestyles()
|
|||
AutoTArray<RefPtr<Element>, RESTYLE_ARRAY_STACKSIZE> laterSiblingArr;
|
||||
for (auto iter = mPendingRestyles.Iter(); !iter.Done(); iter.Next()) {
|
||||
auto element = static_cast<dom::Element*>(iter.Key());
|
||||
MOZ_ASSERT(!element->IsStyledByServo(),
|
||||
"Should not have Servo-styled elements here");
|
||||
// Only collect the entries that actually need restyling by us (and
|
||||
// haven't, for example, already been restyled).
|
||||
// It's important to not mess with the flags on entries not in our
|
||||
|
|
@ -180,7 +178,6 @@ RestyleTracker::DoProcessRestyles()
|
|||
}
|
||||
for (uint32_t i = 0; i < laterSiblingArr.Length(); ++i) {
|
||||
Element* element = laterSiblingArr[i];
|
||||
MOZ_ASSERT(!element->IsStyledByServo());
|
||||
for (nsIContent* sibling = element->GetNextSibling();
|
||||
sibling;
|
||||
sibling = sibling->GetNextSibling()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue