mshtml: Nswindow_to_window() is not used anymore, remove it.

It has been superseded by mozwindow_to_window().

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2016-07-02 11:59:50 +02:00 committed by Alexandre Julliard
parent c7fdde8e83
commit 3998a7aa54
2 changed files with 0 additions and 13 deletions

View File

@ -3171,18 +3171,6 @@ HRESULT update_window_doc(HTMLInnerWindow *window)
return hres;
}
HTMLOuterWindow *nswindow_to_window(const nsIDOMWindow *nswindow)
{
HTMLOuterWindow *iter;
LIST_FOR_EACH_ENTRY(iter, &window_list, HTMLOuterWindow, entry) {
if(iter->nswindow == nswindow)
return iter;
}
return NULL;
}
HTMLOuterWindow *mozwindow_to_window(const mozIDOMWindowProxy *mozwindow)
{
HTMLOuterWindow *iter;

View File

@ -807,7 +807,6 @@ HRESULT create_doc_from_nsdoc(nsIDOMHTMLDocument*,HTMLDocumentObj*,HTMLInnerWind
HRESULT HTMLOuterWindow_Create(HTMLDocumentObj*,nsIDOMWindow*,HTMLOuterWindow*,HTMLOuterWindow**) DECLSPEC_HIDDEN;
HRESULT update_window_doc(HTMLInnerWindow*) DECLSPEC_HIDDEN;
HTMLOuterWindow *nswindow_to_window(const nsIDOMWindow*) DECLSPEC_HIDDEN;
HTMLOuterWindow *mozwindow_to_window(const mozIDOMWindowProxy*) DECLSPEC_HIDDEN;
void get_top_window(HTMLOuterWindow*,HTMLOuterWindow**) DECLSPEC_HIDDEN;
HRESULT HTMLOptionElementFactory_Create(HTMLInnerWindow*,HTMLOptionElementFactory**) DECLSPEC_HIDDEN;