mshtml: Forward nsIURL::[Get|Set]FilePath to nsIURI::[Get|Set]Path.
This commit is contained in:
parent
03ca06e791
commit
ba229eed59
@ -2130,11 +2130,7 @@ static nsresult NSAPI nsURL_GetFilePath(nsIURL *iface, nsACString *aFilePath)
|
|||||||
|
|
||||||
TRACE("(%p)->(%p)\n", This, aFilePath);
|
TRACE("(%p)->(%p)\n", This, aFilePath);
|
||||||
|
|
||||||
if(This->nsurl)
|
return nsIURL_GetPath(&This->nsIURL_iface, aFilePath);
|
||||||
return nsIURL_GetFilePath(This->nsurl, aFilePath);
|
|
||||||
|
|
||||||
FIXME("default action not implemented\n");
|
|
||||||
return NS_ERROR_NOT_IMPLEMENTED;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static nsresult NSAPI nsURL_SetFilePath(nsIURL *iface, const nsACString *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));
|
TRACE("(%p)->(%s)\n", This, debugstr_nsacstr(aFilePath));
|
||||||
|
|
||||||
if(This->nsurl) {
|
return nsIURL_SetPath(&This->nsIURL_iface, aFilePath);
|
||||||
invalidate_uri(This);
|
|
||||||
return nsIURL_SetFilePath(This->nsurl, aFilePath);
|
|
||||||
}
|
|
||||||
|
|
||||||
FIXME("default action not implemented\n");
|
|
||||||
return NS_ERROR_NOT_IMPLEMENTED;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static nsresult NSAPI nsURL_GetParam(nsIURL *iface, nsACString *aParam)
|
static nsresult NSAPI nsURL_GetParam(nsIURL *iface, nsACString *aParam)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user