mshtml: Always use IUri-based nsIRI::GetAsciiHost implementation.

This commit is contained in:
Jacek Caban 2011-11-08 16:17:40 +01:00 committed by Alexandre Julliard
parent 1ca84cb729
commit 78e4d3d25c
1 changed files with 1 additions and 5 deletions

View File

@ -2289,12 +2289,8 @@ static nsresult NSAPI nsURI_GetAsciiHost(nsIURL *iface, nsACString *aAsciiHost)
{
nsWineURI *This = impl_from_nsIURL(iface);
TRACE("(%p)->(%p)\n", This, aAsciiHost);
WARN("(%p)->(%p) FIXME: Use Uri_PUNYCODE_IDN_HOST flag\n", This, aAsciiHost);
if(This->nsuri)
return nsIURI_GetAsciiHost(This->nsuri, aAsciiHost);
WARN("Use Uri_PUNYCODE_IDN_HOST flag\n");
return get_uri_string(This, Uri_PROPERTY_HOST, aAsciiHost);
}