mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
blah
This commit is contained in:
parent
1e13676256
commit
3993e759e2
@ -39,7 +39,7 @@ getEditFactory(nsIFactory **aFactory)
|
||||
{
|
||||
nsEditFactory *factory = new nsEditFactory(getter_AddRefs(g_pNSIFactory));
|
||||
*aFactory = g_pNSIFactory;
|
||||
NS_IF_RELEASE(*aFactory);
|
||||
NS_IF_ADDREF(*aFactory);
|
||||
if (factory)
|
||||
result = NS_OK;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ getEditFactory(nsIFactory **aFactory)
|
||||
{
|
||||
nsEditFactory *factory = new nsEditFactory(getter_AddRefs(g_pNSIFactory));
|
||||
*aFactory = g_pNSIFactory;
|
||||
NS_IF_RELEASE(*aFactory);
|
||||
NS_IF_ADDREF(*aFactory);
|
||||
if (factory)
|
||||
result = NS_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user