Jacek Caban : mshtml: Don' t prefer to forward a few more calls in nsIURL implementation.

Alexandre Julliard julliard at winehq.org
Mon Jan 3 10:58:05 CST 2011


Module: wine
Branch: master
Commit: 64c1b7922e28b1ffff8d9a60fa6b82627f98de27
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=64c1b7922e28b1ffff8d9a60fa6b82627f98de27

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Jan  3 14:52:51 2011 +0100

mshtml: Don't prefer to forward a few more calls in nsIURL implementation.

---

 dlls/mshtml/nsio.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index ed098e3..e5cfa78 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -1933,9 +1933,6 @@ static nsresult NSAPI nsURI_GetPath(nsIURL *iface, nsACString *aPath)
 
     TRACE("(%p)->(%p)\n", This, aPath);
 
-    if(This->nsuri)
-        return nsIURI_GetPath(This->nsuri, aPath);
-
     return get_uri_string(This, Uri_PROPERTY_PATH, aPath);
 }
 
@@ -2060,9 +2057,6 @@ static nsresult NSAPI nsURI_Resolve(nsIURL *iface, const nsACString *aRelativePa
 
     TRACE("(%p)->(%s %p)\n", This, debugstr_nsacstr(aRelativePath), _retval);
 
-    if(This->nsuri)
-        return nsIURI_Resolve(This->nsuri, aRelativePath, _retval);
-
     nsACString_GetData(aRelativePath, &patha);
     path = heap_strdupAtoW(patha);
     if(!path)
@@ -2184,9 +2178,6 @@ static nsresult NSAPI nsURL_GetQuery(nsIURL *iface, nsACString *aQuery)
 
     TRACE("(%p)->(%p)\n", This, aQuery);
 
-    if(This->nsurl)
-        return nsIURL_GetQuery(This->nsurl, aQuery);
-
     return get_uri_string(This, Uri_PROPERTY_QUERY, aQuery);
 }
 




More information about the wine-cvs mailing list