Index: net/base/prioritized_dispatcher_unittest.cc |
diff --git a/net/base/prioritized_dispatcher_unittest.cc b/net/base/prioritized_dispatcher_unittest.cc |
index ff32003a638d4ac2d9aa9f2d92d71ab0b9e7f2f3..6c19b92e5780f36f747e41b50ce72458eb0f3e57 100644 |
--- a/net/base/prioritized_dispatcher_unittest.cc |
+++ b/net/base/prioritized_dispatcher_unittest.cc |
@@ -17,11 +17,12 @@ namespace net { |
namespace { |
// We rely on the priority enum values being sequential having starting at 0, |
-// and increasing for lower priorities. |
-COMPILE_ASSERT(HIGHEST == 0u && |
- LOWEST > HIGHEST && |
- IDLE > LOWEST && |
- NUM_PRIORITIES > IDLE, |
+// and increasing for higher priorities. |
+COMPILE_ASSERT(MINIMUM_PRIORITY == 0u && |
+ MINIMUM_PRIORITY == IDLE && |
+ IDLE < LOWEST && |
+ LOWEST < HIGHEST && |
+ HIGHEST < NUM_PRIORITIES, |
priority_indexes_incompatible); |
class PrioritizedDispatcherTest : public testing::Test { |