Index: net/url_request/url_request.h |
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h |
index a6ef386dc1ba7cf59a55fb8a1c7f90a08e89aaa5..06b10488db6b3b3188f8584b78e1a2dbabdb0b61 100644 |
--- a/net/url_request/url_request.h |
+++ b/net/url_request/url_request.h |
@@ -545,7 +545,7 @@ class URLRequest : public NonThreadSafe { |
net::RequestPriority priority() const { return priority_; } |
void set_priority(net::RequestPriority priority) { |
DCHECK_GE(priority, net::HIGHEST); |
- DCHECK_LE(priority, net::LOWEST); |
+ DCHECK_LT(priority, net::NUM_PRIORITIES); |
priority_ = priority; |
} |