| 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 bb36aee57305ce5d14b5543b896b9a42c2db2f93..64e5e0cdb3f448173f33081241a5b91ed38cdfb3 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| @@ -164,7 +164,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)
|
| @@ -209,6 +209,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
|
| @@ -261,7 +263,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;
|
|
|