Fix for ANSI C++ compliance: friend foo -> friend class foo

This commit is contained in:
bruce%cybersight.com 1999-04-21 04:16:46 +00:00
parent d0c30e4948
commit 58575369dd
5 changed files with 7 additions and 7 deletions

View File

@ -203,8 +203,8 @@ public:
protected:
nsBodyInner mInner;
friend BodyRule;
friend BodyFixupRule;
friend class BodyRule;
friend class BodyFixupRule;
};

View File

@ -435,7 +435,7 @@ protected:
nsICSSDeclaration* mDeclaration;
nsICSSStyleSheet* mSheet;
friend CSSStyleRuleImpl;
friend class CSSStyleRuleImpl;
};
CSSImportantRule::CSSImportantRule(nsICSSStyleSheet* aSheet, nsICSSDeclaration* aDeclaration)

View File

@ -203,8 +203,8 @@ public:
protected:
nsBodyInner mInner;
friend BodyRule;
friend BodyFixupRule;
friend class BodyRule;
friend class BodyFixupRule;
};

View File

@ -435,7 +435,7 @@ protected:
nsICSSDeclaration* mDeclaration;
nsICSSStyleSheet* mSheet;
friend CSSStyleRuleImpl;
friend class CSSStyleRuleImpl;
};
CSSImportantRule::CSSImportantRule(nsICSSStyleSheet* aSheet, nsICSSDeclaration* aDeclaration)

View File

@ -435,7 +435,7 @@ protected:
nsICSSDeclaration* mDeclaration;
nsICSSStyleSheet* mSheet;
friend CSSStyleRuleImpl;
friend class CSSStyleRuleImpl;
};
CSSImportantRule::CSSImportantRule(nsICSSStyleSheet* aSheet, nsICSSDeclaration* aDeclaration)