mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +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
|
|
@ -20,10 +20,10 @@ struct JSContext;
|
|||
class JSObject;
|
||||
|
||||
namespace mozilla {
|
||||
class DeclarationBlock;
|
||||
namespace css {
|
||||
class Loader;
|
||||
class Rule;
|
||||
class Declaration;
|
||||
} // namespace css
|
||||
} // namespace mozilla
|
||||
|
||||
|
|
@ -119,8 +119,8 @@ protected:
|
|||
// AttributeWillChange.
|
||||
eOperation_RemoveProperty
|
||||
};
|
||||
virtual mozilla::DeclarationBlock* GetCSSDeclaration(Operation aOperation) = 0;
|
||||
virtual nsresult SetCSSDeclaration(mozilla::DeclarationBlock* aDecl) = 0;
|
||||
virtual mozilla::css::Declaration* GetCSSDeclaration(Operation aOperation) = 0;
|
||||
virtual nsresult SetCSSDeclaration(mozilla::css::Declaration* aDecl) = 0;
|
||||
// Document that we must call BeginUpdate/EndUpdate on around the
|
||||
// calls to SetCSSDeclaration and the style rule mutation that leads
|
||||
// to it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue