Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: net/spdy/spdy_session.cc

Issue 195973002: Change DCHECK_IS_ON() to DCHECK_IS_ON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698