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 3562b36164d32faf2d110ef12c2725387a13aa44..4e87073daed5932e1aaea3be71667592474366b5 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h |
@@ -121,6 +121,7 @@ public: |
const Vector<PaintChunk>& paintChunks() const { return paintArtifact().paintChunks(); } |
bool clientCacheIsValid(DisplayItemClient) const; |
+ bool cacheIsEmpty() const { return m_currentPaintArtifact.isEmpty(); } |
bool displayItemConstructionIsDisabled() const { return m_constructionDisabled; } |
void setDisplayItemConstructionIsDisabled(const bool disable) { m_constructionDisabled = disable; } |