mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class
This commit is contained in:
parent
4bf43b8fb4
commit
6803c1f710
24 changed files with 55 additions and 414 deletions
|
|
@ -19,8 +19,7 @@
|
|||
#include "nsAttrValue.h"
|
||||
#include "nsAttrValueInlines.h"
|
||||
#include "nsCSSPseudoElements.h"
|
||||
#include "mozilla/RestyleManagerHandle.h"
|
||||
#include "mozilla/RestyleManagerHandleInlines.h"
|
||||
#include "mozilla/RestyleManager.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
|
@ -73,7 +72,7 @@ nsHTMLCSSStyleSheet::ElementRulesMatching(nsPresContext* aPresContext,
|
|||
|
||||
declaration = aElement->GetSMILOverrideStyleDeclaration();
|
||||
if (declaration) {
|
||||
RestyleManager* restyleManager = aPresContext->RestyleManager()->AsGecko();
|
||||
RestyleManager* restyleManager = aPresContext->RestyleManager();
|
||||
if (!restyleManager->SkipAnimationRules()) {
|
||||
// Animation restyle (or non-restyle traversal of rules)
|
||||
// Now we can walk SMIL overrride style, without triggering transitions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue