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

mshtml: Get rid of an unused parameter in prepare_for_binding.

parent 52826af9
...@@ -106,7 +106,7 @@ HRESULT hlink_frame_navigate(HTMLDocument*,LPCWSTR,nsChannel*,DWORD,BOOL*) DECLS ...@@ -106,7 +106,7 @@ HRESULT hlink_frame_navigate(HTMLDocument*,LPCWSTR,nsChannel*,DWORD,BOOL*) DECLS
HRESULT create_doc_uri(HTMLWindow*,WCHAR*,nsWineURI**) DECLSPEC_HIDDEN; HRESULT create_doc_uri(HTMLWindow*,WCHAR*,nsWineURI**) DECLSPEC_HIDDEN;
HRESULT load_nsuri(HTMLWindow*,nsWineURI*,nsChannelBSC*,DWORD) DECLSPEC_HIDDEN; HRESULT load_nsuri(HTMLWindow*,nsWineURI*,nsChannelBSC*,DWORD) DECLSPEC_HIDDEN;
HRESULT set_moniker(HTMLDocument*,IMoniker*,IBindCtx*,nsChannelBSC*,BOOL) DECLSPEC_HIDDEN; HRESULT set_moniker(HTMLDocument*,IMoniker*,IBindCtx*,nsChannelBSC*,BOOL) DECLSPEC_HIDDEN;
void prepare_for_binding(HTMLDocument*,IMoniker*,IBindCtx*,BOOL) DECLSPEC_HIDDEN; void prepare_for_binding(HTMLDocument*,IMoniker*,BOOL) DECLSPEC_HIDDEN;
HRESULT create_channelbsc(IMoniker*,WCHAR*,BYTE*,DWORD,nsChannelBSC**) DECLSPEC_HIDDEN; HRESULT create_channelbsc(IMoniker*,WCHAR*,BYTE*,DWORD,nsChannelBSC**) DECLSPEC_HIDDEN;
HRESULT channelbsc_load_stream(nsChannelBSC*,IStream*) DECLSPEC_HIDDEN; HRESULT channelbsc_load_stream(nsChannelBSC*,IStream*) DECLSPEC_HIDDEN;
......
...@@ -1960,7 +1960,7 @@ static HRESULT WINAPI HTMLPrivateWindow_SuperNavigate(IHTMLPrivateWindow *iface, ...@@ -1960,7 +1960,7 @@ static HRESULT WINAPI HTMLPrivateWindow_SuperNavigate(IHTMLPrivateWindow *iface,
return hres; return hres;
} }
prepare_for_binding(&This->doc_obj->basedoc, mon, NULL, TRUE); prepare_for_binding(&This->doc_obj->basedoc, mon, TRUE);
hres = IUri_GetScheme(uri, &scheme); hres = IUri_GetScheme(uri, &scheme);
......
...@@ -232,7 +232,7 @@ static void set_downloading_task_destr(task_t *_task) ...@@ -232,7 +232,7 @@ static void set_downloading_task_destr(task_t *_task)
heap_free(task); heap_free(task);
} }
void prepare_for_binding(HTMLDocument *This, IMoniker *mon, IBindCtx *pibc, BOOL navigated_binding) void prepare_for_binding(HTMLDocument *This, IMoniker *mon, BOOL navigated_binding)
{ {
HRESULT hres; HRESULT hres;
...@@ -485,7 +485,7 @@ static HRESULT WINAPI PersistMoniker_Load(IPersistMoniker *iface, BOOL fFullyAva ...@@ -485,7 +485,7 @@ static HRESULT WINAPI PersistMoniker_Load(IPersistMoniker *iface, BOOL fFullyAva
} }
} }
prepare_for_binding(This, pimkName, pibc, FALSE); prepare_for_binding(This, pimkName, FALSE);
hres = set_moniker(This, pimkName, pibc, NULL, TRUE); hres = set_moniker(This, pimkName, pibc, NULL, TRUE);
if(FAILED(hres)) if(FAILED(hres))
return hres; return hres;
...@@ -756,7 +756,7 @@ static HRESULT WINAPI PersistStreamInit_Load(IPersistStreamInit *iface, LPSTREAM ...@@ -756,7 +756,7 @@ static HRESULT WINAPI PersistStreamInit_Load(IPersistStreamInit *iface, LPSTREAM
return hres; return hres;
} }
prepare_for_binding(This, mon, NULL, FALSE); prepare_for_binding(This, mon, FALSE);
hres = set_moniker(This, mon, NULL, NULL, TRUE); hres = set_moniker(This, mon, NULL, NULL, TRUE);
IMoniker_Release(mon); IMoniker_Release(mon);
if(FAILED(hres)) if(FAILED(hres))
...@@ -815,7 +815,7 @@ static HRESULT WINAPI PersistStreamInit_InitNew(IPersistStreamInit *iface) ...@@ -815,7 +815,7 @@ static HRESULT WINAPI PersistStreamInit_InitNew(IPersistStreamInit *iface)
return hres; return hres;
} }
prepare_for_binding(This, mon, NULL, FALSE); prepare_for_binding(This, mon, FALSE);
hres = set_moniker(This, mon, NULL, NULL, FALSE); hres = set_moniker(This, mon, NULL, NULL, FALSE);
IMoniker_Release(mon); IMoniker_Release(mon);
if(FAILED(hres)) if(FAILED(hres))
......
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