mshtml: Don't crash in UIActivate if Gecko is not available.
This commit is contained in:
parent
75eb61cdc6
commit
23465f2183
|
@ -577,7 +577,8 @@ static HRESULT WINAPI OleDocumentView_UIActivate(IOleDocumentView *iface, BOOL f
|
|||
}
|
||||
|
||||
This->focus = TRUE;
|
||||
nsIWebBrowserFocus_Activate(This->nscontainer->focus);
|
||||
if(This->nscontainer)
|
||||
nsIWebBrowserFocus_Activate(This->nscontainer->focus);
|
||||
notif_focus(This);
|
||||
|
||||
update_doc(This, UPDATE_UI);
|
||||
|
|
Loading…
Reference in New Issue