mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fixing bugs related to the widget atom.
This commit is contained in:
parent
d4ca80e530
commit
4672f50061
@ -58,7 +58,7 @@ void nsXULAtoms::AddrefAtoms() {
|
||||
toolbar = NS_NewAtom("toolbar");
|
||||
toolbox = NS_NewAtom("toolbox");
|
||||
tree = NS_NewAtom("tree");
|
||||
window = NS_NewAtom("widget");
|
||||
widget = NS_NewAtom("widget");
|
||||
window = NS_NewAtom("window");
|
||||
}
|
||||
++gRefCnt;
|
||||
@ -75,6 +75,7 @@ void nsXULAtoms::ReleaseAtoms() {
|
||||
NS_RELEASE(toolbar);
|
||||
NS_RELEASE(toolbox);
|
||||
NS_RELEASE(tree);
|
||||
NS_RELEASE(widget);
|
||||
NS_RELEASE(window);
|
||||
NS_IF_RELEASE(gNameSpaceManager);
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ void nsXULAtoms::AddrefAtoms() {
|
||||
toolbar = NS_NewAtom("toolbar");
|
||||
toolbox = NS_NewAtom("toolbox");
|
||||
tree = NS_NewAtom("tree");
|
||||
window = NS_NewAtom("widget");
|
||||
widget = NS_NewAtom("widget");
|
||||
window = NS_NewAtom("window");
|
||||
}
|
||||
++gRefCnt;
|
||||
@ -75,6 +75,7 @@ void nsXULAtoms::ReleaseAtoms() {
|
||||
NS_RELEASE(toolbar);
|
||||
NS_RELEASE(toolbox);
|
||||
NS_RELEASE(tree);
|
||||
NS_RELEASE(widget);
|
||||
NS_RELEASE(window);
|
||||
NS_IF_RELEASE(gNameSpaceManager);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user