mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #2490 - Part 8: Get rid of css::Rule::GetDOMRule.
This commit is contained in:
parent
fce04b3591
commit
bb2aaeac9f
11 changed files with 17 additions and 107 deletions
|
|
@ -1186,7 +1186,7 @@ DOMCSSDeclarationImpl::GetParentRule(nsIDOMCSSRule **aParent)
|
|||
{
|
||||
NS_ENSURE_ARG_POINTER(aParent);
|
||||
|
||||
NS_IF_ADDREF(*aParent = mRule->GetDOMRule());
|
||||
NS_IF_ADDREF(*aParent = mRule);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
@ -1355,12 +1355,6 @@ StyleRule::Clone() const
|
|||
return clone.forget();
|
||||
}
|
||||
|
||||
/* virtual */ nsIDOMCSSRule*
|
||||
StyleRule::GetDOMRule()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
void
|
||||
StyleRule::SetDeclaration(Declaration* aDecl)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue