Use the generic factory to create the actual objects for the nsWebBrowserSetup and nsWebBrowser classes. Got rid of the unneeded ::Create methods on those classes.

git-svn-id: svn://10.0.0.236/trunk@62899 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net
2000-03-14 07:20:17 +00:00
parent a6616be366
commit 508b009b9f
5 changed files with 5 additions and 37 deletions

View File

@@ -38,14 +38,16 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsWebBrowserSetup)
static nsModuleComponentInfo components[] =
{
{ "WebBrowser Component", NS_WEBBROWSER_CID, NS_WEBBROWSER_PROGID, nsWebBrowser::Create },
{ "WebBrowserSetup Component", NS_WEBBROWSER_SETUP_CID, NS_WEBBROWSER_SETUP_PROGID, nsWebBrowserSetup::Create }
{ "WebBrowser Component", NS_WEBBROWSER_CID,
NS_WEBBROWSER_PROGID, nsWebBrowserConstructor },
{ "WebBrowserSetup Component", NS_WEBBROWSER_SETUP_CID,
NS_WEBBROWSER_SETUP_PROGID, nsWebBrowserSetupConstructor }
};
// NSGetModule implementation.
NS_IMPL_NSGETMODULE("nsWebBrowserModule", components)
NS_IMPL_NSGETMODULE("Browser Embedding Module", components)