mshtml: nswindow_to_window() is not used anymore, remove it.
Francois Gouget
fgouget at free.fr
Sat Jul 2 04:59:50 CDT 2016
It has been superseded by mozwindow_to_window().
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
As far as I can tell from the relevant commit.
dlls/mshtml/htmlwindow.c | 12 ------------
dlls/mshtml/mshtml_private.h | 1 -
2 files changed, 13 deletions(-)
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index d9f1346..bd15cb3 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -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;
diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h
index 9d07047..6db8f34 100644
--- a/dlls/mshtml/mshtml_private.h
+++ b/dlls/mshtml/mshtml_private.h
@@ -805,7 +805,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;
--
2.8.1
More information about the wine-patches
mailing list