Index: net/base/prioritized_dispatcher_unittest.cc |
diff --git a/net/base/prioritized_dispatcher_unittest.cc b/net/base/prioritized_dispatcher_unittest.cc |
index fffb47f252ce990accc8309f01510f121fcefe49..7d0b90ea58fb9d9c7bb86d51106a887dfbc35dfd 100644 |
--- a/net/base/prioritized_dispatcher_unittest.cc |
+++ b/net/base/prioritized_dispatcher_unittest.cc |
@@ -20,8 +20,10 @@ namespace { |
// We rely on the priority enum values being sequential having starting at 0, |
// and increasing for higher priorities. |
-static_assert(MINIMUM_PRIORITY == 0u && MINIMUM_PRIORITY == IDLE && |
- IDLE < LOWEST && LOWEST < HIGHEST && |
+static_assert(MINIMUM_PRIORITY == 0u && MINIMUM_PRIORITY == THROTTLED && |
+ THROTTLED < IDLE && |
+ IDLE < LOWEST && |
+ LOWEST < HIGHEST && |
HIGHEST <= MAXIMUM_PRIORITY, |
"priority indexes incompatible"); |