Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h

Issue 2176573004: Enable subsequence caching for spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CachePaintProperties
Patch Set: Spv2 configuration for PaintLayerPainterTest, unsigned->size_t etc. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..6ebb963e7cb3c039a13a0bac6fb6bd32d29ccb4b 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h
@@ -45,8 +45,8 @@ public:
DisplayItem& appendByMoving(DisplayItem&);
- bool hasVisualRect(unsigned index) const { return index < m_visualRects.size(); }
- IntRect visualRect(unsigned index) const
+ bool hasVisualRect(size_t index) const { return index < m_visualRects.size(); }
+ IntRect visualRect(size_t index) const
{
DCHECK(hasVisualRect(index));
return m_visualRects[index];

Powered by Google App Engine
This is Rietveld 408576698