зеркало из https://github.com/mozilla/pjs.git
XForms bug 331328 - Schema changes only reflected on restart. r=aaronr,allan
This commit is contained in:
Родитель
ff5d3f6461
Коммит
4eac5ca0f0
|
@ -609,7 +609,7 @@ nsXFormsModelElement::OnCreated(nsIXTFGenericElementWrapper *aWrapper)
|
|||
nsresult rv = mMDG.Init(this);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
mSchemas = do_GetService(NS_SCHEMALOADER_CONTRACTID);
|
||||
mSchemas = do_CreateInstance(NS_SCHEMALOADER_CONTRACTID);
|
||||
|
||||
mInstanceDocuments = new nsXFormsModelInstanceDocuments();
|
||||
NS_ASSERTION(mInstanceDocuments, "could not create mInstanceDocuments?!");
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
nsXFormsSchemaValidator::nsXFormsSchemaValidator()
|
||||
{
|
||||
mSchemaValidator = do_GetService(NS_SCHEMAVALIDATOR_CONTRACTID);
|
||||
mSchemaValidator = do_CreateInstance(NS_SCHEMAVALIDATOR_CONTRACTID);
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
|
Загрузка…
Ссылка в новой задаче