Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2003)

Unified Diff: net/spdy/spdy_websocket_stream_spdy2_unittest.cc

Issue 15829004: Update net/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: license twerk Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_websocket_stream.cc ('k') | net/spdy/spdy_websocket_stream_spdy3_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_websocket_stream_spdy2_unittest.cc
diff --git a/net/spdy/spdy_websocket_stream_spdy2_unittest.cc b/net/spdy/spdy_websocket_stream_spdy2_unittest.cc
index cfdff5793d56e43826c10b96686bb82defbc75ef..7b72321279616b5d78e34aec3003f93267ab4de2 100644
--- a/net/spdy/spdy_websocket_stream_spdy2_unittest.cc
+++ b/net/spdy/spdy_websocket_stream_spdy2_unittest.cc
@@ -348,7 +348,7 @@ TEST_F(SpdyWebSocketStreamSpdy2Test, Basic) {
base::Bind(&SpdyWebSocketStreamSpdy2Test::DoSendClosingFrame,
base::Unretained(this)));
- websocket_stream_.reset(new SpdyWebSocketStream(session_, &delegate));
+ websocket_stream_.reset(new SpdyWebSocketStream(session_.get(), &delegate));
BoundNetLog net_log;
GURL url("ws://example.com/echo");
@@ -421,7 +421,7 @@ TEST_F(SpdyWebSocketStreamSpdy2Test, DestructionBeforeClose) {
base::Bind(&SpdyWebSocketStreamSpdy2Test::DoSync,
base::Unretained(this)));
- websocket_stream_.reset(new SpdyWebSocketStream(session_, &delegate));
+ websocket_stream_.reset(new SpdyWebSocketStream(session_.get(), &delegate));
BoundNetLog net_log;
GURL url("ws://example.com/echo");
@@ -484,7 +484,7 @@ TEST_F(SpdyWebSocketStreamSpdy2Test, DestructionAfterExplicitClose) {
base::Bind(&SpdyWebSocketStreamSpdy2Test::DoClose,
base::Unretained(this)));
- websocket_stream_.reset(new SpdyWebSocketStream(session_, &delegate));
+ websocket_stream_.reset(new SpdyWebSocketStream(session_.get(), &delegate));
BoundNetLog net_log;
GURL url("ws://example.com/echo");
@@ -550,7 +550,7 @@ TEST_F(SpdyWebSocketStreamSpdy2Test, IOPending) {
SpdyWebSocketStreamEventRecorder block_delegate((CompletionCallback()));
scoped_ptr<SpdyWebSocketStream> block_stream(
- new SpdyWebSocketStream(session_, &block_delegate));
+ new SpdyWebSocketStream(session_.get(), &block_delegate));
BoundNetLog block_net_log;
GURL block_url("ws://example.com/block");
ASSERT_EQ(OK,
@@ -568,7 +568,7 @@ TEST_F(SpdyWebSocketStreamSpdy2Test, IOPending) {
base::Bind(&SpdyWebSocketStreamSpdy2Test::DoSendClosingFrame,
base::Unretained(this)));
- websocket_stream_.reset(new SpdyWebSocketStream(session_, &delegate));
+ websocket_stream_.reset(new SpdyWebSocketStream(session_.get(), &delegate));
BoundNetLog net_log;
GURL url("ws://example.com/echo");
ASSERT_EQ(ERR_IO_PENDING, websocket_stream_->InitializeStream(
« no previous file with comments | « net/spdy/spdy_websocket_stream.cc ('k') | net/spdy/spdy_websocket_stream_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698