Index: third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h |
index fe3f6d6fe899b4c4fb8f89c823fa582f58bddbc5..511eb70de1408b9dde67d13f1d044999aeaa4c42 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h |
@@ -33,6 +33,8 @@ public: |
void incrementDisplayItemIndex(const DisplayItem&); |
void decrementDisplayItemIndex(); |
+ const PaintChunk& lastChunk() const { return m_chunks.last(); } |
+ |
void clear(); |
// Releases the generated paint chunk list and resets the state of this |