summaryrefslogtreecommitdiffstats
path: root/net/spdy
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 16:39:35 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 16:39:35 +0000
commit7e0e63c54d9c799888e22b7aadd33d1ae066f3b9 (patch)
tree089a3caf2ae135e26a7c932a8085a77198c50d2b /net/spdy
parentf726845eefca6e6bbd0e87472446ffaf342c05b7 (diff)
downloadchromium_src-7e0e63c54d9c799888e22b7aadd33d1ae066f3b9.zip
chromium_src-7e0e63c54d9c799888e22b7aadd33d1ae066f3b9.tar.gz
chromium_src-7e0e63c54d9c799888e22b7aadd33d1ae066f3b9.tar.bz2
Uninitialized member in SpdyStream.
BUG=None TEST=None CID=11904 Review URL: http://codereview.chromium.org/3083006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy')
-rw-r--r--net/spdy/spdy_stream.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/spdy/spdy_stream.cc b/net/spdy/spdy_stream.cc
index 145141e..220ae3b2 100644
--- a/net/spdy/spdy_stream.cc
+++ b/net/spdy/spdy_stream.cc
@@ -15,6 +15,7 @@ SpdyStream::SpdyStream(
SpdySession* session, spdy::SpdyStreamId stream_id, bool pushed)
: stream_id_(stream_id),
priority_(0),
+ send_window_size_(0),
pushed_(pushed),
metrics_(Singleton<BandwidthMetrics>::get()),
syn_reply_received_(false),
@@ -220,7 +221,7 @@ void SpdyStream::Cancel() {
return;
cancelled_ = true;
- if(session_->IsStreamActive(stream_id_))
+ if (session_->IsStreamActive(stream_id_))
session_->ResetStream(stream_id_, spdy::CANCEL);
}