mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 587171 - Pass SetPriority IPC messages to redirected channels. r=honzab a=blocking-fennec
--HG-- extra : rebase_source : ceffe93f7f98434db5b5c82350cfc7963bad7640
This commit is contained in:
parent
d3709482f4
commit
270dfbec2e
@ -188,6 +188,11 @@ HttpChannelParent::RecvSetPriority(const PRUint16& priority)
|
||||
{
|
||||
nsHttpChannel *httpChan = static_cast<nsHttpChannel *>(mChannel.get());
|
||||
httpChan->SetPriority(priority);
|
||||
|
||||
if (mChannelListener && mChannelListener->mRedirectChannel &&
|
||||
mChannelListener->mRedirectChannel != this)
|
||||
return mChannelListener->mRedirectChannel->RecvSetPriority(priority);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user