Bug 587171 - Pass SetPriority IPC messages to redirected channels. r=honzab a=blocking-fennec

--HG--
extra : rebase_source : ceffe93f7f98434db5b5c82350cfc7963bad7640
This commit is contained in:
Josh Matthews 2010-09-15 13:12:38 -07:00
parent d3709482f4
commit 270dfbec2e

View File

@ -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;
}