summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_http_stream.cc
diff options
context:
space:
mode:
authormmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-29 22:34:51 +0000
committermmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-29 22:34:51 +0000
commit32aa415f8eab2790052277fecfb843e8ad2ba38c (patch)
treed315900a8d6f25f527feeab9ba2df8b975dfb107 /net/spdy/spdy_http_stream.cc
parent3abba2674d55de917a2ac4d3d2534746845dd076 (diff)
downloadchromium_src-32aa415f8eab2790052277fecfb843e8ad2ba38c.zip
chromium_src-32aa415f8eab2790052277fecfb843e8ad2ba38c.tar.gz
chromium_src-32aa415f8eab2790052277fecfb843e8ad2ba38c.tar.bz2
Remove HttpStream::GetResponseInfo, which is not currently used.
HttpStream::GetResponseInfo returned a pointer to an object not owned by the HttpStream, so could result in returning freed memory, in the case the stream outlives its client. This happens in the case an HttpResponseBodyDrainer is used. As the method isn't used anywhere, seems a good idea to get rid of it. BUG=none Review URL: https://codereview.chromium.org/303443009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_http_stream.cc')
-rw-r--r--net/spdy/spdy_http_stream.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc
index a327768..055d46f 100644
--- a/net/spdy/spdy_http_stream.cc
+++ b/net/spdy/spdy_http_stream.cc
@@ -89,10 +89,6 @@ int SpdyHttpStream::InitializeStream(const HttpRequestInfo* request_info,
return rv;
}
-const HttpResponseInfo* SpdyHttpStream::GetResponseInfo() const {
- return response_info_;
-}
-
UploadProgress SpdyHttpStream::GetUploadProgress() const {
if (!request_info_ || !HasUploadData())
return UploadProgress();