Index: sync/internal_api/http_bridge.cc |
diff --git a/sync/internal_api/http_bridge.cc b/sync/internal_api/http_bridge.cc |
index 12cfda889c330601cb1e261c6be2f0ae95c5ae51..4b561fe4d8efb23159a5966adb8e8612179cdfd7 100644 |
--- a/sync/internal_api/http_bridge.cc |
+++ b/sync/internal_api/http_bridge.cc |
@@ -199,7 +199,7 @@ void HttpBridge::SetExtraRequestHeaders(const char * headers) { |
void HttpBridge::SetURL(const char* url, int port) { |
DCHECK_EQ(base::MessageLoop::current(), created_on_loop_); |
- if (DCHECK_IS_ON()) { |
+ if (DCHECK_IS_ON) { |
base::AutoLock lock(fetch_state_lock_); |
DCHECK(!fetch_state_.request_completed); |
} |
@@ -217,7 +217,7 @@ void HttpBridge::SetPostPayload(const char* content_type, |
int content_length, |
const char* content) { |
DCHECK_EQ(base::MessageLoop::current(), created_on_loop_); |
- if (DCHECK_IS_ON()) { |
+ if (DCHECK_IS_ON) { |
base::AutoLock lock(fetch_state_lock_); |
DCHECK(!fetch_state_.request_completed); |
} |
@@ -236,7 +236,7 @@ void HttpBridge::SetPostPayload(const char* content_type, |
bool HttpBridge::MakeSynchronousPost(int* error_code, int* response_code) { |
DCHECK_EQ(base::MessageLoop::current(), created_on_loop_); |
- if (DCHECK_IS_ON()) { |
+ if (DCHECK_IS_ON) { |
base::AutoLock lock(fetch_state_lock_); |
DCHECK(!fetch_state_.request_completed); |
} |