Commit 4bcf1f55 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Use navigate_url in WebBrowser::Navigate.

parent 02b54914
......@@ -226,18 +226,11 @@ static HRESULT WINAPI WebBrowser_Navigate(IWebBrowser2 *iface, BSTR szUrl,
VARIANT *PostData, VARIANT *Headers)
{
WebBrowser *This = WEBBROWSER_THIS(iface);
VARIANT url;
HRESULT r;
FIXME("(%p)->(%s %p %p %p %p)\n", This, debugstr_w(szUrl), Flags, TargetFrameName,
TRACE("(%p)->(%s %p %p %p %p)\n", This, debugstr_w(szUrl), Flags, TargetFrameName,
PostData, Headers);
V_VT(&url) = VT_BSTR;
V_BSTR(&url) = szUrl;
r = IWebBrowser2_Navigate2(iface, &url, Flags,
TargetFrameName, PostData, Headers);
return r;
return navigate_url(&This->doc_host, szUrl, Flags, TargetFrameName, PostData, Headers);
}
static HRESULT WINAPI WebBrowser_Refresh(IWebBrowser2 *iface)
......
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