Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: Source/platform/graphics/paint/DisplayItemList.h

Issue 860563003: Disable display item caching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove beginNewPaints and m_doingNewPaints Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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*);
« no previous file with comments | « Source/platform/graphics/ContentLayerDelegate.cpp ('k') | Source/platform/graphics/paint/DisplayItemList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698