| 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 bc639bdc451a79cbaf1c2d8d75374a8a4aa4e1b0..db20539695d506f722eb0fa111421a788d36933d 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
|
| @@ -159,6 +159,8 @@ public:
|
| void assertDisplayItemClientsAreLive();
|
| #endif
|
|
|
| + void setTracksPaintInvalidations(bool value) { m_isTrackingPaintInvalidations = value; }
|
| +
|
| protected:
|
| PaintController()
|
| : m_newDisplayItemList(0)
|
| @@ -169,6 +171,7 @@ protected:
|
| , m_skippingCacheCount(0)
|
| , m_numCachedNewItems(0)
|
| , m_currentCachedSubsequenceBeginIndexInNewList(kNotFound)
|
| + , m_isTrackingPaintInvalidations(false)
|
| #ifndef NDEBUG
|
| , m_numSequentialMatches(0)
|
| , m_numOutOfOrderMatches(0)
|
| @@ -270,6 +273,7 @@ private:
|
| IndicesByClientMap m_outOfOrderChunkIndices;
|
|
|
| size_t m_currentCachedSubsequenceBeginIndexInNewList;
|
| + bool m_isTrackingPaintInvalidations;
|
| size_t m_nextChunkToMatch;
|
|
|
| DisplayItemClient::CacheGenerationOrInvalidationReason m_currentCacheGeneration;
|
|
|