Changed NS_ENSURE_NOT() to use NS_ENSURE_FALSE() per API change.
This commit is contained in:
@@ -252,7 +252,7 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
NS_ENSURE_ARG_POINTER(return_cobj);
|
||||
NS_ENSURE_NOT(gModule, NS_ERROR_FAILURE);
|
||||
NS_ENSURE_FALSE(gModule, NS_ERROR_FAILURE);
|
||||
|
||||
// Create and initialize the module instance
|
||||
nsSampleModule *m = new nsSampleModule();
|
||||
|
||||
Reference in New Issue
Block a user