PR_ExitMonitor(getEditorMonitor());
PR_ExitMonitor(GetEditorMonitor());
GetHTMLEditFactory(nsIFactory **aFactory, const nsCID & aClass){  static nsCOMPtr<nsIFactory>  g_pNSIFactory;  PR_EnterMonitor(getEditorMonitor());  nsresult result = NS_ERROR_FAILURE;  if (!g_pNSIFactory)  {    nsHTMLEditFactory *factory = new nsHTMLEditFactory(aClass);    g_pNSIFactory = do_QueryInterface(factory);    if (factory)      result = NS_OK;  }  result = g_pNSIFactory->QueryInterface(kIFactoryIID, (void **)aFactory);  PR_ExitMonitor(getEditorMonitor());  return result;}