| Index: net/spdy/spdy_session.cc
 | 
| ===================================================================
 | 
| --- net/spdy/spdy_session.cc	(revision 127728)
 | 
| +++ net/spdy/spdy_session.cc	(working copy)
 | 
| @@ -394,7 +394,6 @@
 | 
|  
 | 
|    state_ = CONNECTED;
 | 
|    connection_.reset(connection);
 | 
| -  connection_->AddLayeredPool(this);
 | 
|    is_secure_ = is_secure;
 | 
|    certificate_error_code_ = certificate_error_code;
 | 
|  
 | 
| @@ -1192,18 +1191,6 @@
 | 
|    return connection_->socket()->GetLocalAddress(address);
 | 
|  }
 | 
|  
 | 
| -bool SpdySession::CloseOneIdleConnection() {
 | 
| -  if (spdy_session_pool_ && num_active_streams() == 0) {
 | 
| -    bool ret = HasOneRef();
 | 
| -    // Will remove a reference to this.
 | 
| -    RemoveFromPool();
 | 
| -    // Since the underlying socket is only returned when |this| is destroyed
 | 
| -    // we should only return true if RemoveFromPool() removed the last ref.
 | 
| -    return ret;
 | 
| -  }
 | 
| -  return false;
 | 
| -}
 | 
| -
 | 
|  void SpdySession::ActivateStream(SpdyStream* stream) {
 | 
|    const spdy::SpdyStreamId id = stream->stream_id();
 | 
|    DCHECK(!IsStreamActive(id));
 | 
| 
 |