diff --git a/k-meleon/kplugins/adblock/nsGenericFactory.cpp b/k-meleon/kplugins/adblock/nsGenericFactory.cpp index ac46ff6f..ee69f730 100644 --- a/k-meleon/kplugins/adblock/nsGenericFactory.cpp +++ b/k-meleon/kplugins/adblock/nsGenericFactory.cpp @@ -94,10 +94,8 @@ NS_IMETHODIMP nsGenericFactory::GetInterfaces(PRUint32 *countp, return NS_OK; } -NS_IMETHODIMP nsGenericFactory::GetHelperForLanguage(PRUint32 language, - nsISupports **helper) -{ - *helper = nullptr; +NS_IMETHODIMP nsGenericFactory::GetScriptableHelper(nsIXPCScriptable** retval) { + *retval = nullptr; return NS_OK; } @@ -144,12 +142,6 @@ NS_IMETHODIMP nsGenericFactory::GetClassIDNoAlloc(nsCID *aClassID) return NS_OK; } -NS_IMETHODIMP nsGenericFactory::GetImplementationLanguage(PRUint32 *langp) -{ - *langp = nsIProgrammingLanguage::CPLUSPLUS; - return NS_OK; -} - NS_IMETHODIMP nsGenericFactory::GetFlags(PRUint32 *flagsp) { return NS_OK; diff --git a/k-meleon/kplugins/jsbridge/nsGenericFactory.cpp b/k-meleon/kplugins/jsbridge/nsGenericFactory.cpp index 89d6316d..d8ae2b59 100644 --- a/k-meleon/kplugins/jsbridge/nsGenericFactory.cpp +++ b/k-meleon/kplugins/jsbridge/nsGenericFactory.cpp @@ -95,11 +95,9 @@ NS_IMETHODIMP nsGenericFactory::GetInterfaces(PRUint32 *countp, return NS_OK; } -NS_IMETHODIMP nsGenericFactory::GetHelperForLanguage(PRUint32 language, - nsISupports **helper) -{ - *helper = nullptr; - return NS_OK; +NS_IMETHODIMP nsGenericFactory::GetScriptableHelper(nsIXPCScriptable** retval) { + *retval = nullptr; + return NS_OK; } NS_IMETHODIMP nsGenericFactory::GetContractID(char **aContractID) @@ -145,12 +143,6 @@ NS_IMETHODIMP nsGenericFactory::GetClassIDNoAlloc(nsCID *aClassID) return NS_OK; } -NS_IMETHODIMP nsGenericFactory::GetImplementationLanguage(PRUint32 *langp) -{ - *langp = nsIProgrammingLanguage::CPLUSPLUS; - return NS_OK; -} - NS_IMETHODIMP nsGenericFactory::GetFlags(PRUint32 *flagsp) { return NS_OK;