Jacek Caban : mshtml: Forward nsIURL::[Get|Set]FilePath to nsIURI::[Get|Set ]Path.
Alexandre Julliard
julliard at winehq.org
Thu Jan 20 12:41:24 CST 2011
Module: wine
Branch: master
Commit: ba229eed59d12df9dc5a1c9bdd843ad9e77e5a7f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ba229eed59d12df9dc5a1c9bdd843ad9e77e5a7f
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Jan 20 12:21:20 2011 +0100
mshtml: Forward nsIURL::[Get|Set]FilePath to nsIURI::[Get|Set]Path.
---
dlls/mshtml/nsio.c | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index b6887fa..492f845 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -2130,11 +2130,7 @@ static nsresult NSAPI nsURL_GetFilePath(nsIURL *iface, nsACString *aFilePath)
TRACE("(%p)->(%p)\n", This, aFilePath);
- if(This->nsurl)
- return nsIURL_GetFilePath(This->nsurl, aFilePath);
-
- FIXME("default action not implemented\n");
- return NS_ERROR_NOT_IMPLEMENTED;
+ return nsIURL_GetPath(&This->nsIURL_iface, aFilePath);
}
static nsresult NSAPI nsURL_SetFilePath(nsIURL *iface, const nsACString *aFilePath)
@@ -2143,13 +2139,7 @@ static nsresult NSAPI nsURL_SetFilePath(nsIURL *iface, const nsACString *aFilePa
TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aFilePath));
- if(This->nsurl) {
- invalidate_uri(This);
- return nsIURL_SetFilePath(This->nsurl, aFilePath);
- }
-
- FIXME("default action not implemented\n");
- return NS_ERROR_NOT_IMPLEMENTED;
+ return nsIURL_SetPath(&This->nsIURL_iface, aFilePath);
}
static nsresult NSAPI nsURL_GetParam(nsIURL *iface, nsACString *aParam)
More information about the wine-cvs
mailing list