summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_stream_unittest.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-30 00:30:12 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-30 00:30:12 +0000
commit13eae8ce32b768450bdda9af60bd791491a5fd82 (patch)
tree81dfd2b600b24ead8afe9547b909333f4252df79 /net/spdy/spdy_stream_unittest.cc
parent1e721f5632a5eddfba9730f367f18d0befe0463d (diff)
downloadchromium_src-13eae8ce32b768450bdda9af60bd791491a5fd82.zip
chromium_src-13eae8ce32b768450bdda9af60bd791491a5fd82.tar.gz
chromium_src-13eae8ce32b768450bdda9af60bd791491a5fd82.tar.bz2
Stop refcounting SpdySessionPool.
BUG=57343 TEST=none Review URL: http://codereview.chromium.org/3602001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_stream_unittest.cc')
-rw-r--r--net/spdy/spdy_stream_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/spdy/spdy_stream_unittest.cc b/net/spdy/spdy_stream_unittest.cc
index 84d21d3..5ece945 100644
--- a/net/spdy/spdy_stream_unittest.cc
+++ b/net/spdy/spdy_stream_unittest.cc
@@ -13,7 +13,7 @@ namespace net {
// TODO(ukai): factor out common part with spdy_http_stream_unittest.cc
class SpdySessionPoolPeer {
public:
- explicit SpdySessionPoolPeer(const scoped_refptr<SpdySessionPool>& pool)
+ explicit SpdySessionPoolPeer(SpdySessionPool* pool)
: pool_(pool) {}
void RemoveSpdySession(const scoped_refptr<SpdySession>& session) {
@@ -21,7 +21,7 @@ class SpdySessionPoolPeer {
}
private:
- const scoped_refptr<SpdySessionPool> pool_;
+ SpdySessionPool* const pool_;
DISALLOW_COPY_AND_ASSIGN(SpdySessionPoolPeer);
};