mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Fix for ANSI C++ compliance: friend foo -> friend class foo
This commit is contained in:
parent
d0c30e4948
commit
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)
|
||||
|
Loading…
Reference in New Issue
Block a user