added name space atoms
git-svn-id: svn://10.0.0.236/trunk@16204 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
// XXX make this be autogenerated. doh!
|
||||
|
||||
// media atoms
|
||||
nsIAtom* nsLayoutAtoms::all;
|
||||
nsIAtom* nsLayoutAtoms::aural;
|
||||
nsIAtom* nsLayoutAtoms::braille;
|
||||
@@ -30,10 +31,16 @@ nsIAtom* nsLayoutAtoms::screen;
|
||||
nsIAtom* nsLayoutAtoms::tty;
|
||||
nsIAtom* nsLayoutAtoms::tv;
|
||||
|
||||
// name space atoms
|
||||
nsIAtom* nsLayoutAtoms::htmlNameSpace;
|
||||
nsIAtom* nsLayoutAtoms::xmlNameSpace;
|
||||
|
||||
// frame additional child lists
|
||||
nsIAtom* nsLayoutAtoms::absoluteList;
|
||||
nsIAtom* nsLayoutAtoms::bulletList;
|
||||
nsIAtom* nsLayoutAtoms::colGroupList;
|
||||
nsIAtom* nsLayoutAtoms::floaterList;
|
||||
nsIAtom* nsLayoutAtoms::bulletList;
|
||||
|
||||
|
||||
static nsrefcnt gRefCnt;
|
||||
|
||||
@@ -51,10 +58,13 @@ void nsLayoutAtoms::AddrefAtoms()
|
||||
tty = NS_NewAtom("TTY");
|
||||
tv = NS_NewAtom("TV");
|
||||
|
||||
htmlNameSpace = NS_NewAtom("html");
|
||||
xmlNameSpace = NS_NewAtom("xml");
|
||||
|
||||
absoluteList = NS_NewAtom("Absolute-list");
|
||||
bulletList = NS_NewAtom("Bullet-list");
|
||||
colGroupList = NS_NewAtom("ColGroup-list");
|
||||
floaterList = NS_NewAtom("Floater-list");
|
||||
bulletList = NS_NewAtom("Bullet-list");
|
||||
}
|
||||
++gRefCnt;
|
||||
}
|
||||
@@ -73,11 +83,14 @@ void nsLayoutAtoms::ReleaseAtoms()
|
||||
NS_RELEASE(screen);
|
||||
NS_RELEASE(tty);
|
||||
NS_RELEASE(tv);
|
||||
|
||||
NS_RELEASE(htmlNameSpace);
|
||||
NS_RELEASE(xmlNameSpace);
|
||||
|
||||
NS_RELEASE(absoluteList);
|
||||
NS_RELEASE(bulletList);
|
||||
NS_RELEASE(colGroupList);
|
||||
NS_RELEASE(floaterList);
|
||||
NS_RELEASE(bulletList);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user