Module: wine Branch: master Commit: 1088164af3ab7bde4d52b7e6e141d9d9caaeb000 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1088164af3ab7bde4d52b7e6...
Author: Jacek Caban jacek@codeweavers.com Date: Sat Aug 12 18:44:13 2006 +0200
mshtml: Remove no longer used get_nsIURI.
---
dlls/mshtml/mshtml_private.h | 2 -- dlls/mshtml/nsio.c | 24 ------------------------ 2 files changed, 0 insertions(+), 26 deletions(-)
diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h index 8f293f8..df1407b 100644 --- a/dlls/mshtml/mshtml_private.h +++ b/dlls/mshtml/mshtml_private.h @@ -295,8 +295,6 @@ void init_nsio(nsIComponentManager*,nsIC
void hlink_frame_navigate(HTMLDocument*,IHlinkFrame*,LPCWSTR,nsIInputStream*,DWORD);
-nsIURI *get_nsIURI(LPCWSTR); - void *nsalloc(size_t); void nsfree(void*);
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index 37b3ba0..0c26fd4 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -1917,27 +1917,3 @@ void init_nsio(nsIComponentManager *comp if(NS_FAILED(nsres)) ERR("RegisterFactory failed: %08lx\n", nsres); } - -nsIURI *get_nsIURI(LPCWSTR url) -{ - nsIURI *ret; - nsACString acstr; - nsresult nsres; - char *urla; - int len; - - len = WideCharToMultiByte(CP_ACP, 0, url, -1, NULL, -1, NULL, NULL); - urla = mshtml_alloc(len); - WideCharToMultiByte(CP_ACP, 0, url, -1, urla, -1, NULL, NULL); - - nsACString_Init(&acstr, urla); - - nsres = nsIIOService_NewURI(nsio, &acstr, NULL, NULL, &ret); - if(NS_FAILED(nsres)) - FIXME("NewURI failed: %08lx\n", nsres); - - nsACString_Finish(&acstr); - mshtml_free(urla); - - return ret; -}