NS_AutoregisterComponents();
nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, NULL );
NS_SetupRegistry_1( PRBool needAutoreg ){  if ( needAutoreg )    NS_AutoregisterComponents();  /*   * Call the standard NS_SetupRegistry() implemented in    * webshell/tests/viewer/nsSetupregistry.cpp   */  NS_SetupRegistry();  //All Editor registration is done in webshell/tests/viewer/nsSetupregistry.cpp}