Index: net/quic/quic_session.cc |
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc |
index 809223bb5d7b85f6bb803a7945cdcbf06a0cc0a9..809ebd8d5d7a1d2a9bf2a42fdd042e55124085c7 100644 |
--- a/net/quic/quic_session.cc |
+++ b/net/quic/quic_session.cc |
@@ -19,6 +19,7 @@ using std::map; |
using std::max; |
using std::string; |
using std::vector; |
+using net::SpdyPriority; |
namespace net { |
@@ -734,14 +735,14 @@ size_t QuicSession::GetNumAvailableStreams() const { |
} |
void QuicSession::MarkConnectionLevelWriteBlocked(QuicStreamId id, |
- QuicPriority priority) { |
+ SpdyPriority priority) { |
#ifndef NDEBUG |
ReliableQuicStream* stream = GetStream(id); |
if (stream != nullptr) { |
LOG_IF(DFATAL, priority != stream->Priority()) |
<< ENDPOINT << "Stream " << id |
- << "Priorities do not match. Got: " << priority |
- << " Expected: " << stream->Priority(); |
+ << "Priorities do not match. Got: " << static_cast<int>(priority) |
+ << " Expected: " << static_cast<int>(stream->Priority()); |
} else { |
LOG(DFATAL) << "Marking unknown stream " << id << " blocked."; |
} |