mshtml: Simplify ASServiceProvider_QueryService.

This commit is contained in:
Jacek Caban 2012-07-11 13:51:18 +02:00 committed by Alexandre Julliard
parent 94f0f884fd
commit 8bb4a6b3ea
1 changed files with 2 additions and 2 deletions

View File

@ -573,10 +573,10 @@ static HRESULT WINAPI ASServiceProvider_QueryService(IServiceProvider *iface, RE
if(IsEqualGUID(&SID_SInternetHostSecurityManager, guidService)) {
TRACE("(%p)->(SID_SInternetHostSecurityManager)\n", This);
if(!This->window || !This->window->base.inner_window->doc)
if(!This->window || !This->window->doc)
return E_NOINTERFACE;
return IInternetHostSecurityManager_QueryInterface(&This->window->base.inner_window->doc->IInternetHostSecurityManager_iface,
return IInternetHostSecurityManager_QueryInterface(&This->window->doc->IInternetHostSecurityManager_iface,
riid, ppv);
}