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

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

Issue 847783003: New display item caching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: New method, supporting partial paint 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/DisplayItem.h
diff --git a/Source/platform/graphics/paint/DisplayItem.h b/Source/platform/graphics/paint/DisplayItem.h
index bc55c2d22f7e517f1417b810484425fd6ef8a122..eb4355f4361860dbe807bbda6af140237c103ee3 100644
--- a/Source/platform/graphics/paint/DisplayItem.h
+++ b/Source/platform/graphics/paint/DisplayItem.h
@@ -119,7 +119,11 @@ public:
virtual void dumpPropertiesAsDebugString(WTF::StringBuilder&) const;
#endif
+ // FIXME: Replace these virtual functions with static field access.
virtual bool isCached() const { return false; }
+ virtual bool isSubtreeCached() const { return false; }
+ virtual bool isBeginSubtree() const { return false; }
+ virtual bool isEndSubtree() const { return false; }
protected:
DisplayItem(DisplayItemClient client, Type type)

Powered by Google App Engine
This is Rietveld 408576698