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

Unified Diff: cc/paint/drawing_display_item.h

Issue 2889653002: Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: movecullrect2 rebase-once-and-for-all Created 3 years, 7 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/paint/display_item_list_unittest.cc ('k') | cc/paint/drawing_display_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/drawing_display_item.h
diff --git a/cc/paint/drawing_display_item.h b/cc/paint/drawing_display_item.h
index 677d0b62af8fcf073d0c1e3d545d3bc1e330950b..a746a0723f0cfa85ecff5d66578cc2c4b9ad1ce4 100644
--- a/cc/paint/drawing_display_item.h
+++ b/cc/paint/drawing_display_item.h
@@ -17,7 +17,8 @@ namespace cc {
class CC_PAINT_EXPORT DrawingDisplayItem : public DisplayItem {
public:
DrawingDisplayItem();
- explicit DrawingDisplayItem(sk_sp<const PaintRecord> record);
+ explicit DrawingDisplayItem(sk_sp<const PaintRecord> record,
+ const SkRect& bounds);
explicit DrawingDisplayItem(const DrawingDisplayItem& item);
~DrawingDisplayItem() override;
@@ -25,6 +26,7 @@ class CC_PAINT_EXPORT DrawingDisplayItem : public DisplayItem {
size_t OpCount() const;
const sk_sp<const PaintRecord> picture;
+ SkRect bounds;
};
} // namespace cc
« no previous file with comments | « cc/paint/display_item_list_unittest.cc ('k') | cc/paint/drawing_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698