Chromium Code Reviews| 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 d95c29fd2e1f1efe720d5d42da4c33e966ef9468..8a75c620f802ee29a06d7fae436a748adaa7270f 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
| @@ -108,6 +108,7 @@ public: |
| // True if the last display item is a begin that doesn't draw content. |
| bool lastDisplayItemIsNoopBegin() const; |
| void removeLastDisplayItem(); |
| + const DisplayItem* lastDisplayItem(unsigned offset); |
|
wkorman
2016/07/26 18:41:08
Perhaps worth documenting the lifespan of the item
|
| void beginSkippingCache() { ++m_skippingCacheCount; } |
| void endSkippingCache() { DCHECK(m_skippingCacheCount > 0); --m_skippingCacheCount; } |