[XForms] Handle empty instances. Bug 321876, r=aaronr+smaug
git-svn-id: svn://10.0.0.236/trunk@197840 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -60,6 +60,10 @@ RegisterXFormsModule(nsIComponentManager *aCompMgr,
|
||||
const char *aComponentType,
|
||||
const nsModuleComponentInfo *aInfo)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf("XFORMS Module: Registering\n");
|
||||
#endif
|
||||
|
||||
nsCOMPtr<nsICategoryManager> catman =
|
||||
do_GetService(NS_CATEGORYMANAGER_CONTRACTID);
|
||||
|
||||
@@ -93,6 +97,10 @@ UnregisterXFormsModule(nsIComponentManager *aCompMgr,
|
||||
const char *aRegistryLocation,
|
||||
const nsModuleComponentInfo *aInfo)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf("XFORMS Module: Unregistering\n");
|
||||
#endif
|
||||
|
||||
nsCOMPtr<nsICategoryManager> catman =
|
||||
do_GetService(NS_CATEGORYMANAGER_CONTRACTID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user