diff options
author | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-16 23:16:58 +0000 |
---|---|---|
committer | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-16 23:16:58 +0000 |
commit | f6bf34c91c8bfa29b87f8b974f8e061a27a364fe (patch) | |
tree | dd056b101ed201c0e35279f55e5e8911204b02b6 | |
parent | 33a3a30e7ee989cfb65ac4ece32623175142d732 (diff) | |
download | chromium_src-f6bf34c91c8bfa29b87f8b974f8e061a27a364fe.zip chromium_src-f6bf34c91c8bfa29b87f8b974f8e061a27a364fe.tar.gz chromium_src-f6bf34c91c8bfa29b87f8b974f8e061a27a364fe.tar.bz2 |
Merge 122230 - SPDY - Don't call AdjustWindowSize on PendingCreateStreams.
Entries in create_stream_queues_ don't have a SpdyStream.
BUG=113935
R=willchan
TEST=network unit tests
Review URL: https://chromiumcodereview.appspot.com/9406029
TBR=rtenneti@google.com
Review URL: https://chromiumcodereview.appspot.com/9416041
git-svn-id: svn://svn.chromium.org/chrome/branches/1025/src@122383 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | net/spdy/spdy_session.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc index 6049cf9..1cd1baf 100644 --- a/net/spdy/spdy_session.cc +++ b/net/spdy/spdy_session.cc @@ -1592,21 +1592,6 @@ void SpdySession::UpdateStreamsSendWindowSize(int32 delta_window_size) { DCHECK(stream); stream->AdjustSendWindowSize(delta_window_size); } - - for (int i = 0; i < NUM_PRIORITIES; ++i) { - PendingCreateStreamQueue tmp; - while (!create_stream_queues_[i].empty()) { - PendingCreateStream pending_create = create_stream_queues_[i].front(); - const scoped_refptr<SpdyStream>& stream = *(pending_create.spdy_stream); - stream->AdjustSendWindowSize(delta_window_size); - create_stream_queues_[i].pop(); - tmp.push(pending_create); - } - while (!tmp.empty()) { - create_stream_queues_[i].push(tmp.front()); - tmp.pop(); - } - } } void SpdySession::SendPrefacePingIfNoneInFlight() { |