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

Unified Diff: cc/resources/display_item.h

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « cc/resources/clip_path_display_item.cc ('k') | cc/resources/display_item_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « cc/resources/clip_path_display_item.cc ('k') | cc/resources/display_item_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698