Bug 355300 There should be only one nsGkAtoms creature

r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2006-12-26 17:47:52 +00:00
parent 6eb41c6e0e
commit c778d21502
274 changed files with 4014 additions and 4151 deletions

View File

@@ -47,7 +47,6 @@
#include "nsIAtom.h"
#include "nsGenericHTMLElement.h"
#include "nsHTMLParts.h"
#include "nsHTMLAtoms.h"
#include "nsLayoutAtoms.h"
#include "nsStyleConsts.h"
#include "nsFont.h"
@@ -68,7 +67,7 @@ NS_NewLegendFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
nsIAtom*
nsLegendFrame::GetType() const
{
return nsLayoutAtoms::legendFrame;
return nsGkAtoms::legendFrame;
}
void
@@ -121,7 +120,7 @@ PRInt32 nsLegendFrame::GetAlign()
nsGenericHTMLElement *content = nsGenericHTMLElement::FromContent(mContent);
if (content) {
const nsAttrValue* attr = content->GetParsedAttr(nsHTMLAtoms::align);
const nsAttrValue* attr = content->GetParsedAttr(nsGkAtoms::align);
if (attr && attr->Type() == nsAttrValue::eEnum) {
intValue = attr->GetEnumValue();
}