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

Unified Diff: cc/resources/display_item.h

Issue 816443003: cc: Include pictures in trace output for DisplayItemLists (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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: cc/resources/display_item.h
diff --git a/cc/resources/display_item.h b/cc/resources/display_item.h
index 9a4ce509e1068d05aaebfa7b45cd72704e30353e..422bd4345ee02e46d67ef8b313bc78ec0a1d6746 100644
--- a/cc/resources/display_item.h
+++ b/cc/resources/display_item.h
@@ -20,6 +20,7 @@ class CC_EXPORT DisplayItem {
virtual void Raster(SkCanvas* canvas,
SkDrawPictureCallback* callback) const = 0;
+ virtual void RasterForTracing(SkCanvas* canvas) const;
virtual bool IsSuitableForGpuRasterization() const = 0;
virtual int ApproximateOpCount() const = 0;

Powered by Google App Engine
This is Rietveld 408576698