diff --git a/gfx/src/nsFont.h b/gfx/src/nsFont.h index 7ce83cd6fea..cefec1a087b 100644 --- a/gfx/src/nsFont.h +++ b/gfx/src/nsFont.h @@ -64,7 +64,7 @@ const PRUint8 kGenericFont_monospace = 0x08; const PRUint8 kGenericFont_cursive = 0x10; const PRUint8 kGenericFont_fantasy = 0x20; -class gfxFontStyle; +struct gfxFontStyle; // Font structure. struct NS_GFX nsFont { diff --git a/layout/style/nsRuleNode.h b/layout/style/nsRuleNode.h index 9a5cac13aed..e1db67ef1b0 100644 --- a/layout/style/nsRuleNode.h +++ b/layout/style/nsRuleNode.h @@ -60,7 +60,7 @@ class nsCSSValue; struct nsCSSRect; class nsStyleCoord; -class nsCSSValuePairList; +struct nsCSSValuePairList; template class FixedStyleStructArray