зеркало из https://github.com/mozilla/pjs.git
Fix bustage. b=167415
This commit is contained in:
Родитель
a9d25a843d
Коммит
3b97b5e3fb
|
@ -396,10 +396,8 @@ CSSImportRuleImpl::CSSImportRuleImpl(const CSSImportRuleImpl& aCopy)
|
|||
{
|
||||
|
||||
if (aCopy.mChildSheet) {
|
||||
aCopy.mChildSheet->Clone(*getter_AddRefs(mChildSheet));
|
||||
if (mChildSheet) {
|
||||
mChildSheet->SetOwnerRule(this);
|
||||
}
|
||||
aCopy.mChildSheet->Clone(nsnull, this, nsnull, nsnull,
|
||||
getter_AddRefs(mChildSheet));
|
||||
}
|
||||
|
||||
NS_NewMediaList(getter_AddRefs(mMedia));
|
||||
|
|
|
@ -396,10 +396,8 @@ CSSImportRuleImpl::CSSImportRuleImpl(const CSSImportRuleImpl& aCopy)
|
|||
{
|
||||
|
||||
if (aCopy.mChildSheet) {
|
||||
aCopy.mChildSheet->Clone(*getter_AddRefs(mChildSheet));
|
||||
if (mChildSheet) {
|
||||
mChildSheet->SetOwnerRule(this);
|
||||
}
|
||||
aCopy.mChildSheet->Clone(nsnull, this, nsnull, nsnull,
|
||||
getter_AddRefs(mChildSheet));
|
||||
}
|
||||
|
||||
NS_NewMediaList(getter_AddRefs(mMedia));
|
||||
|
|
Загрузка…
Ссылка в новой задаче