| Index: net/quic/quic_http_stream_test.cc
|
| diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc
|
| index 9c00fe9d5c3d6e8cdea9c401532921b0f940850e..b29a0e4eb6ebb13d37594b65b3a6a8b5d1a8f600 100644
|
| --- a/net/quic/quic_http_stream_test.cc
|
| +++ b/net/quic/quic_http_stream_test.cc
|
| @@ -351,7 +351,7 @@ TEST_F(QuicHttpStreamTest, GetRequest) {
|
|
|
| // Now that the headers have been processed, the callback will return.
|
| EXPECT_EQ(OK, callback_.WaitForResult());
|
| - ASSERT_TRUE(response_.headers != NULL);
|
| + ASSERT_TRUE(response_.headers.get() != NULL);
|
| EXPECT_EQ(404, response_.headers->response_code());
|
| EXPECT_TRUE(response_.headers->HasHeaderValue("Content-Type", "text/plain"));
|
|
|
| @@ -393,7 +393,7 @@ TEST_F(QuicHttpStreamTest, GetRequestFullResponseInSinglePacket) {
|
|
|
| // Now that the headers have been processed, the callback will return.
|
| EXPECT_EQ(OK, callback_.WaitForResult());
|
| - ASSERT_TRUE(response_.headers != NULL);
|
| + ASSERT_TRUE(response_.headers.get() != NULL);
|
| EXPECT_EQ(200, response_.headers->response_code());
|
| EXPECT_TRUE(response_.headers->HasHeaderValue("Content-Type", "text/plain"));
|
|
|
| @@ -443,7 +443,7 @@ TEST_F(QuicHttpStreamTest, SendPostRequest) {
|
|
|
| // Since the headers have already arrived, this should return immediately.
|
| EXPECT_EQ(OK, stream_->ReadResponseHeaders(callback_.callback()));
|
| - ASSERT_TRUE(response_.headers != NULL);
|
| + ASSERT_TRUE(response_.headers.get() != NULL);
|
| EXPECT_EQ(200, response_.headers->response_code());
|
| EXPECT_TRUE(response_.headers->HasHeaderValue("Content-Type", "text/plain"));
|
|
|
| @@ -505,7 +505,7 @@ TEST_F(QuicHttpStreamTest, SendChunkedPostRequest) {
|
|
|
| // Since the headers have already arrived, this should return immediately.
|
| ASSERT_EQ(OK, stream_->ReadResponseHeaders(callback_.callback()));
|
| - ASSERT_TRUE(response_.headers != NULL);
|
| + ASSERT_TRUE(response_.headers.get() != NULL);
|
| EXPECT_EQ(200, response_.headers->response_code());
|
| EXPECT_TRUE(response_.headers->HasHeaderValue("Content-Type", "text/plain"));
|
|
|
|
|