mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 569189. Remove unneeded QIs for style sheets, part 2. r=dbaron
This commit is contained in:
parent
19b1dea37a
commit
758b19e355
@ -634,12 +634,9 @@ NS_IMETHODIMP
|
||||
CSSImportRuleImpl::GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aStyleSheet);
|
||||
if (!mChildSheet) {
|
||||
*aStyleSheet = nsnull;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
return CallQueryInterface(mChildSheet, aStyleSheet);
|
||||
NS_IF_ADDREF(*aStyleSheet = mChildSheet);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsCSSGroupRule::nsCSSGroupRule()
|
||||
|
Loading…
Reference in New Issue
Block a user