Index: third_party/WebKit/Source/core/css/ActiveStyleSheets.cpp |
diff --git a/third_party/WebKit/Source/core/css/ActiveStyleSheets.cpp b/third_party/WebKit/Source/core/css/ActiveStyleSheets.cpp |
index 893c7905fa93b8dfdfade2ed3cd1569b89c3cd1c..3c19d3a7086896b09ef64c29921ec597bdb0f71b 100644 |
--- a/third_party/WebKit/Source/core/css/ActiveStyleSheets.cpp |
+++ b/third_party/WebKit/Source/core/css/ActiveStyleSheets.cpp |
@@ -63,7 +63,8 @@ ActiveSheetsChange compareActiveStyleSheets( |
: ActiveSheetsChanged; |
} |
- DCHECK(index < oldStyleSheetCount && index < newStyleSheetCount); |
+ DCHECK_LT(index, oldStyleSheetCount); |
+ DCHECK_LT(index, newStyleSheetCount); |
// Both the new and old active stylesheet vectors have stylesheets following |
// the common prefix. Figure out which were added or removed by sorting the |