fix more pending mac bustage

This commit is contained in:
darin%netscape.com 2002-03-20 23:36:03 +00:00
parent d363413277
commit 9e6cde08d2

View File

@ -171,9 +171,9 @@ NS_IMETHODIMP CBrowserShellProgressListener::OnStateChange(nsIWebProgress *aWebP
{
nsCOMPtr<nsIChannel> channel(do_QueryInterface(aRequest));
NS_ENSURE_TRUE(channel, NS_ERROR_FAILURE);
nsXPIDLCString contentType;
channel->GetContentType(getter_Copies(contentType));
if (strcmp(contentType.get(), "text/html"))
nsCAutoString contentType;
channel->GetContentType(contentType);
if (contentType.Equals(NS_LITERAL_CSTRING("text/html")))
mUseRealProgFlag = true;
}