Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
index a003376d96745bbb41733766d4ad783fd9699756..fc961f5366b9e784e8d725f8aa747cfafe82fb95 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
@@ -165,7 +165,7 @@ protected: |
, m_imagePainted(false) |
, m_skippingCacheCount(0) |
, m_numCachedNewItems(0) |
- , m_currentChunkIsFromCachedSubsequence(true) |
+ , m_currentCachedSubsequenceBeginIndexInNewList(kNotFound) |
#if DCHECK_IS_ON() |
, m_numSequentialMatches(0) |
, m_numOutOfOrderMatches(0) |
@@ -210,6 +210,8 @@ private: |
void generateChunkRasterInvalidationRects(PaintChunk& newChunk); |
void generateChunkRasterInvalidationRectsComparingOldChunk(PaintChunk& newChunk, const PaintChunk& oldChunk); |
+ void generateChunkRasterInvalidationRectsForReorderedItems(PaintChunk& newChunk, const PaintChunk& oldChunk, |
+ Vector<size_t>::const_iterator, Vector<size_t>::const_iterator, Vector<size_t>::const_iterator, Vector<size_t>::const_iterator); |
#if DCHECK_IS_ON() |
// The following two methods are for checking under-invalidations |
@@ -262,7 +264,7 @@ private: |
// - chunks are matched not only for requests of cached display items, but also non-cached display items. |
IndicesByClientMap m_outOfOrderChunkIndices; |
- bool m_currentChunkIsFromCachedSubsequence; |
+ size_t m_currentCachedSubsequenceBeginIndexInNewList; |
size_t m_nextChunkToMatch; |
DisplayItemClient::CacheGenerationOrInvalidationReason m_currentCacheGeneration; |