Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h |
index cf3293139db04a44b966a3907dfcb88fb0b1ed0f..166619c669315b7145f05ad31766fa0f06f5f049 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h |
@@ -45,10 +45,9 @@ |
DisplayItem& appendByMoving(DisplayItem&); |
- bool hasVisualRect(unsigned index) const { return index < m_visualRects.size(); } |
IntRect visualRect(unsigned index) const |
{ |
- DCHECK(hasVisualRect(index)); |
+ ASSERT(index < m_visualRects.size()); |
return m_visualRects[index]; |
} |