Index: cc/resources/display_item.h |
diff --git a/cc/resources/display_item.h b/cc/resources/display_item.h |
index 422bd4345ee02e46d67ef8b313bc78ec0a1d6746..b2c40548156ad91ab1737ddb876cb1b93d08d57d 100644 |
--- a/cc/resources/display_item.h |
+++ b/cc/resources/display_item.h |
@@ -7,6 +7,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "cc/base/cc_export.h" |
+#include "cc/debug/traced_value.h" |
#include "ui/gfx/geometry/rect.h" |
class SkCanvas; |
@@ -25,6 +26,7 @@ class CC_EXPORT DisplayItem { |
virtual bool IsSuitableForGpuRasterization() const = 0; |
virtual int ApproximateOpCount() const = 0; |
virtual size_t PictureMemoryUsage() const = 0; |
+ virtual void AsValueInto(base::debug::TracedValue* array) const = 0; |
protected: |
DisplayItem(); |