| 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 108e9e0d74d42e0cef633492b7c8db410e586580..95d2fd0b185cb6080f9febdfc61b73cef8d4cd75 100644
|
| --- a/net/quic/quic_http_stream_test.cc
|
| +++ b/net/quic/quic_http_stream_test.cc
|
| @@ -823,14 +823,14 @@ TEST_P(QuicHttpStreamTest, Priority) {
|
| QuicHttpStreamPeer::GetQuicReliableClientStream(stream_.get());
|
| DCHECK(reliable_stream);
|
| DCHECK_EQ(QuicWriteBlockedList::kHighestPriority,
|
| - reliable_stream->EffectivePriority());
|
| + reliable_stream->Priority());
|
|
|
| EXPECT_EQ(OK, stream_->SendRequest(headers_, &response_,
|
| callback_.callback()));
|
|
|
| // Check that priority has now dropped back to MEDIUM.
|
| DCHECK_EQ(MEDIUM, ConvertQuicPriorityToRequestPriority(
|
| - reliable_stream->EffectivePriority()));
|
| + reliable_stream->Priority()));
|
|
|
| // Ack the request.
|
| ProcessPacket(ConstructAckPacket(1, 0, 0));
|
| @@ -876,13 +876,13 @@ TEST_P(QuicHttpStreamTest, CheckPriorityWithNoDelegate) {
|
| QuicReliableClientStream::Delegate* delegate = reliable_stream->GetDelegate();
|
| DCHECK(delegate);
|
| DCHECK_EQ(QuicWriteBlockedList::kHighestPriority,
|
| - reliable_stream->EffectivePriority());
|
| + reliable_stream->Priority());
|
|
|
| - // Set Delegate to nullptr and make sure EffectivePriority returns highest
|
| + // Set Delegate to nullptr and make sure Priority returns highest
|
| // priority.
|
| reliable_stream->SetDelegate(nullptr);
|
| DCHECK_EQ(QuicWriteBlockedList::kHighestPriority,
|
| - reliable_stream->EffectivePriority());
|
| + reliable_stream->Priority());
|
| reliable_stream->SetDelegate(delegate);
|
|
|
| EXPECT_EQ(0, stream_->GetTotalSentBytes());
|
|
|