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:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user