Commit c43875ce authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed a typo.

parent b830fb0a
......@@ -259,8 +259,8 @@ static void set_profile(void)
static const WCHAR wszMSHTML[] = {'M','S','H','T','M','L',0};
nsres = nsIServiceManager_GetServiceByContactID(pServMgr, NS_PROFILE_CONTRACTID,
&IID_nsIProfile, (void**)&profile);
nsres = nsIServiceManager_GetServiceByContractID(pServMgr, NS_PROFILE_CONTRACTID,
&IID_nsIProfile, (void**)&profile);
if(NS_FAILED(nsres)) {
ERR("Could not get profile service: %08x\n", nsres);
return;
......
......@@ -120,7 +120,7 @@ typedef nsISupports nsIControllerCommandTable;
interface nsIServiceManager : nsISupports
{
nsresult GetService(nsCIDRef aClass, nsIIDRef aIID, void **result);
nsresult GetServiceByContactID(const char *aContactID, nsIIDRef aIID, void **result);
nsresult GetServiceByContractID(const char *aContractID, nsIIDRef aIID, void **result);
nsresult IsServiceInstantiated(nsCIDRef aClass, nsIIDRef aIID, BOOL *_retval);
nsresult IsServiceInstantiatedByContractID(const char *aContractID, nsIIDRef aIID, BOOL *_retval);
}
......
......@@ -465,7 +465,7 @@ void register_nsservice(nsIComponentRegistrar *registrar, nsIServiceManager *ser
if(NS_FAILED(nsres))
ERR("RegisterFactory failed: %08x\n", nsres);
nsres = nsIServiceManager_GetServiceByContactID(service_manager, NS_WINDOWWATCHER_CONTRACTID,
nsres = nsIServiceManager_GetServiceByContractID(service_manager, NS_WINDOWWATCHER_CONTRACTID,
&IID_nsIWindowWatcher, (void**)&window_watcher);
if(NS_SUCCEEDED(nsres)) {
nsres = nsIWindowWatcher_SetWindowCreator(window_watcher,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment