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 14:54:56 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-30 14:54:56 +0000
commit87bfa3fcdb3d47853c4ac9de1240707a3a03f150 (patch)
treebb733620b854e757a4f5846f54e92479761fbe81 /net/spdy/spdy_stream_unittest.cc
parent414591b421922b06e50c99fd41cd6ed2033a21ad (diff)
downloadchromium_src-87bfa3fcdb3d47853c4ac9de1240707a3a03f150.zip
chromium_src-87bfa3fcdb3d47853c4ac9de1240707a3a03f150.tar.gz
chromium_src-87bfa3fcdb3d47853c4ac9de1240707a3a03f150.tar.bz2
Reland 61015 (unnecessary revert due to flaky build) - Stop refcounting SpdySessionPool.
BUG=57343 TEST=none Review URL: http://codereview.chromium.org/3602001 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/3541005 TBR=willchan@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61063 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);
};