diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/spdy/spdy_session.cc | 6 | ||||
-rw-r--r-- | net/spdy/spdy_write_queue.cc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc index a2e239e..d481118 100644 --- a/net/spdy/spdy_session.cc +++ b/net/spdy/spdy_session.cc @@ -918,7 +918,7 @@ void SpdySession::CancelStreamRequest( CHECK_GE(priority, MINIMUM_PRIORITY); CHECK_LE(priority, MAXIMUM_PRIORITY); -#if DCHECK_IS_ON +#if DCHECK_IS_ON() // |request| should not be in a queue not matching its priority. for (int i = MINIMUM_PRIORITY; i <= MAXIMUM_PRIORITY; ++i) { if (priority == i) @@ -1631,7 +1631,7 @@ int SpdySession::DoWriteComplete(int result) { } void SpdySession::DcheckGoingAway() const { -#if DCHECK_IS_ON +#if DCHECK_IS_ON() DCHECK_GE(availability_state_, STATE_GOING_AWAY); for (int i = MINIMUM_PRIORITY; i <= MAXIMUM_PRIORITY; ++i) { DCHECK(pending_create_stream_queues_[i].empty()); @@ -3248,7 +3248,7 @@ void SpdySession::ResumeSendStalledStreams() { while (!IsSendStalled()) { size_t old_size = 0; -#if DCHECK_IS_ON +#if DCHECK_IS_ON() old_size = GetTotalSize(stream_send_unstall_queue_); #endif diff --git a/net/spdy/spdy_write_queue.cc b/net/spdy/spdy_write_queue.cc index 05b965d..ab25eae 100644 --- a/net/spdy/spdy_write_queue.cc +++ b/net/spdy/spdy_write_queue.cc @@ -83,7 +83,7 @@ void SpdyWriteQueue::RemovePendingWritesForStream( CHECK_LE(priority, MAXIMUM_PRIORITY); DCHECK(stream.get()); -#if DCHECK_IS_ON +#if DCHECK_IS_ON() // |stream| should not have pending writes in a queue not matching // its priority. for (int i = MINIMUM_PRIORITY; i <= MAXIMUM_PRIORITY; ++i) { |