mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
Issue #2488 - Part 2: Remove the DeclarationBlock class and use Declaration directly
This commit is contained in:
parent
63076e4211
commit
4d7bdedade
27 changed files with 210 additions and 356 deletions
|
|
@ -30,7 +30,7 @@ public:
|
|||
|
||||
// If GetCSSDeclaration returns non-null, then the decl it returns
|
||||
// is owned by our current style rule.
|
||||
virtual mozilla::DeclarationBlock* GetCSSDeclaration(Operation aOperation) override;
|
||||
virtual mozilla::css::Declaration* GetCSSDeclaration(Operation aOperation) override;
|
||||
virtual void GetCSSParsingEnvironment(CSSParsingEnvironment& aCSSParseEnv) override;
|
||||
NS_IMETHOD GetParentRule(nsIDOMCSSRule **aParent) override;
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ public:
|
|||
protected:
|
||||
~nsDOMCSSAttributeDeclaration();
|
||||
|
||||
virtual nsresult SetCSSDeclaration(mozilla::DeclarationBlock* aDecl) override;
|
||||
virtual nsresult SetCSSDeclaration(mozilla::css::Declaration* aDecl) override;
|
||||
virtual nsIDocument* DocToUpdate() override;
|
||||
|
||||
RefPtr<Element> mElement;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue