Index: third_party/WebKit/Source/build/scripts/make_css_value_keywords.py |
diff --git a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py |
index 96546ca5997a2afb3e2acca7b2a127954d50af84..f8b773c8971473ec04c5c7c3786fda5aec68e8ec 100755 |
--- a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py |
+++ b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py |
@@ -94,7 +94,8 @@ const Value* FindValue(const char* str, unsigned int len) { |
} |
const char* getValueName(CSSValueID id) { |
- ASSERT(id > 0 && id < numCSSValueKeywords); |
+ DCHECK_GT(id, 0); |
+ DCHECK_LT(id, numCSSValueKeywords); |
return valueListStringPool + valueListStringOffsets[id - 1]; |
} |