Index: net/spdy/spdy_session.cc |
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
index 3ba558a7f19ad9f1756cc43032b5e4f039a5b37c..57823833b4c01e2a6e93e5ee95741af8705d3b22 100644 |
--- a/net/spdy/spdy_session.cc |
+++ b/net/spdy/spdy_session.cc |
@@ -756,7 +756,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) |
@@ -1460,7 +1460,7 @@ int SpdySession::DoWriteComplete(int result) { |
void SpdySession::DcheckGoingAway() const { |
DCHECK_GE(availability_state_, STATE_GOING_AWAY); |
- if (DCHECK_IS_ON()) { |
+ if (DCHECK_IS_ON) { |
for (int i = MINIMUM_PRIORITY; i <= MAXIMUM_PRIORITY; ++i) { |
DCHECK(pending_create_stream_queues_[i].empty()); |
} |
@@ -3014,7 +3014,7 @@ void SpdySession::ResumeSendStalledStreams() { |
while (availability_state_ != STATE_CLOSED && !IsSendStalled()) { |
size_t old_size = 0; |
- if (DCHECK_IS_ON()) |
+ if (DCHECK_IS_ON) |
old_size = GetTotalSize(stream_send_unstall_queue_); |
SpdyStreamId stream_id = PopStreamToPossiblyResume(); |