mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
fix more pending mac bustage
This commit is contained in:
parent
d363413277
commit
9e6cde08d2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user