diff --git a/dlls/mshtml/olewnd.c b/dlls/mshtml/olewnd.c
index 613f71d2017..5ce3209f447 100644
--- a/dlls/mshtml/olewnd.c
+++ b/dlls/mshtml/olewnd.c
@@ -101,9 +101,6 @@ static HRESULT WINAPI OleInPlaceActiveObject_OnFrameWindowActivate(IOleInPlaceAc
if(This->hostui)
IDocHostUIHandler_OnFrameWindowActivate(This->hostui, fActivate);
- if(fActivate && This->nscontainer)
- nsIWebBrowserFocus_Activate(This->nscontainer->focus);
-
return S_OK;
}