diff --git a/mozilla/webshell/embed/ActiveX/ActiveXPlugin.cpp b/mozilla/webshell/embed/ActiveX/ActiveXPlugin.cpp index a9ece5d6223..6232794a0d2 100644 --- a/mozilla/webshell/embed/ActiveX/ActiveXPlugin.cpp +++ b/mozilla/webshell/embed/ActiveX/ActiveXPlugin.cpp @@ -146,6 +146,11 @@ static const char *gpszMime = "application/x-oleobject:smp:Mozilla ActiveX Contr static const char *gpszPluginName = "Mozilla ActiveX Control Plug-in"; static const char *gpszPluginDesc = "ActiveX control host"; +NS_IMETHODIMP CActiveXPlugin::CreatePluginInstance(nsISupports *aOuter, REFNSIID aIID, const char* aPluginMIMEType, void **aResult) +{ + return CreateInstance(aOuter, aIID, aResult); +} + NS_IMETHODIMP CActiveXPlugin::Initialize() { return NS_OK; diff --git a/mozilla/webshell/embed/ActiveX/ActiveXPlugin.h b/mozilla/webshell/embed/ActiveX/ActiveXPlugin.h index 8a49e977f72..3957b858df7 100644 --- a/mozilla/webshell/embed/ActiveX/ActiveXPlugin.h +++ b/mozilla/webshell/embed/ActiveX/ActiveXPlugin.h @@ -17,6 +17,7 @@ public: NS_IMETHOD LockFactory(PRBool aLock); // nsIPlugin overrides + NS_IMETHOD CreatePluginInstance(nsISupports *aOuter, REFNSIID aIID, const char* aPluginMIMEType, void **aResult); NS_IMETHOD Initialize(); NS_IMETHOD Shutdown(void); NS_IMETHOD GetMIMEDescription(const char* *resultingDesc);