mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +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
|
|
@ -578,7 +578,7 @@ nsComputedDOMStyle::GetPresShellForContent(nsIContent* aContent)
|
|||
// nsDOMCSSDeclaration abstract methods which should never be called
|
||||
// on a nsComputedDOMStyle object, but must be defined to avoid
|
||||
// compile errors.
|
||||
DeclarationBlock*
|
||||
mozilla::css::Declaration*
|
||||
nsComputedDOMStyle::GetCSSDeclaration(Operation)
|
||||
{
|
||||
NS_RUNTIMEABORT("called nsComputedDOMStyle::GetCSSDeclaration");
|
||||
|
|
@ -586,7 +586,7 @@ nsComputedDOMStyle::GetCSSDeclaration(Operation)
|
|||
}
|
||||
|
||||
nsresult
|
||||
nsComputedDOMStyle::SetCSSDeclaration(DeclarationBlock*)
|
||||
nsComputedDOMStyle::SetCSSDeclaration(mozilla::css::Declaration*)
|
||||
{
|
||||
NS_RUNTIMEABORT("called nsComputedDOMStyle::SetCSSDeclaration");
|
||||
return NS_ERROR_FAILURE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue