зеркало из https://github.com/mozilla/gecko-dev.git
Fix for ANSI C++ compliance: friend foo -> friend class foo
This commit is contained in:
Родитель
d0c30e4948
Коммит
58575369dd
|
@ -203,8 +203,8 @@ public:
|
|||
protected:
|
||||
nsBodyInner mInner;
|
||||
|
||||
friend BodyRule;
|
||||
friend BodyFixupRule;
|
||||
friend class BodyRule;
|
||||
friend class BodyFixupRule;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -435,7 +435,7 @@ protected:
|
|||
nsICSSDeclaration* mDeclaration;
|
||||
nsICSSStyleSheet* mSheet;
|
||||
|
||||
friend CSSStyleRuleImpl;
|
||||
friend class CSSStyleRuleImpl;
|
||||
};
|
||||
|
||||
CSSImportantRule::CSSImportantRule(nsICSSStyleSheet* aSheet, nsICSSDeclaration* aDeclaration)
|
||||
|
|
|
@ -203,8 +203,8 @@ public:
|
|||
protected:
|
||||
nsBodyInner mInner;
|
||||
|
||||
friend BodyRule;
|
||||
friend BodyFixupRule;
|
||||
friend class BodyRule;
|
||||
friend class BodyFixupRule;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -435,7 +435,7 @@ protected:
|
|||
nsICSSDeclaration* mDeclaration;
|
||||
nsICSSStyleSheet* mSheet;
|
||||
|
||||
friend CSSStyleRuleImpl;
|
||||
friend class CSSStyleRuleImpl;
|
||||
};
|
||||
|
||||
CSSImportantRule::CSSImportantRule(nsICSSStyleSheet* aSheet, nsICSSDeclaration* aDeclaration)
|
||||
|
|
|
@ -435,7 +435,7 @@ protected:
|
|||
nsICSSDeclaration* mDeclaration;
|
||||
nsICSSStyleSheet* mSheet;
|
||||
|
||||
friend CSSStyleRuleImpl;
|
||||
friend class CSSStyleRuleImpl;
|
||||
};
|
||||
|
||||
CSSImportantRule::CSSImportantRule(nsICSSStyleSheet* aSheet, nsICSSDeclaration* aDeclaration)
|
||||
|
|
Загрузка…
Ссылка в новой задаче