Index: Source/platform/graphics/paint/DisplayItemList.h |
diff --git a/Source/platform/graphics/paint/DisplayItemList.h b/Source/platform/graphics/paint/DisplayItemList.h |
index af2af340d891d8a2dffb59b881ec9391b2e50b0c..c1949ad0a9d3f2bfdb2140a9089bf7e687794d61 100644 |
--- a/Source/platform/graphics/paint/DisplayItemList.h |
+++ b/Source/platform/graphics/paint/DisplayItemList.h |
@@ -23,12 +23,14 @@ class PLATFORM_EXPORT DisplayItemList { |
public: |
static PassOwnPtr<DisplayItemList> create() { return adoptPtr(new DisplayItemList); } |
+ void endNewPaints() { updatePaintList(); } |
+ |
const PaintList& paintList(); |
void add(WTF::PassOwnPtr<DisplayItem>); |
void invalidate(DisplayItemClient); |
void invalidateAll(); |
- bool clientCacheIsValid(DisplayItemClient client) const { return m_cachedClients.contains(client); } |
+ bool clientCacheIsValid(DisplayItemClient) const; |
// Plays back the current PaintList() into the given context. |
void replay(GraphicsContext*); |