Index: net/url_request/url_request_simple_job_unittest.cc |
diff --git a/net/url_request/url_request_simple_job_unittest.cc b/net/url_request/url_request_simple_job_unittest.cc |
index 5ee71b5766fbb6928581fbe09de2e3ece9e9705a..7fbdefb4e887aa1984e85bba8ba64adad9189f1c 100644 |
--- a/net/url_request/url_request_simple_job_unittest.cc |
+++ b/net/url_request/url_request_simple_job_unittest.cc |
@@ -20,10 +20,11 @@ namespace { |
const char kTestData[] = "Huge data array"; |
const int kRangeFirstPosition = 5; |
const int kRangeLastPosition = 8; |
-COMPILE_ASSERT(kRangeFirstPosition > 0 && |
- kRangeFirstPosition < kRangeLastPosition && |
- kRangeLastPosition < static_cast<int>(arraysize(kTestData) - 1), |
- invalid_range); |
+static_assert(kRangeFirstPosition > 0 && |
+ kRangeFirstPosition < kRangeLastPosition && |
+ kRangeLastPosition < |
+ static_cast<int>(arraysize(kTestData) - 1), |
+ "invalid range"); |
class MockSimpleJob : public URLRequestSimpleJob { |
public: |