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

Unified Diff: cc/resources/display_item_list.h

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@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/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_list.h
diff --git a/cc/resources/display_item_list.h b/cc/resources/display_item_list.h
index 43699dd0d750d615a6731d98888d7d0c414fb24d..1076bebde855c61602f5361eb56391bac20f08ca 100644
--- a/cc/resources/display_item_list.h
+++ b/cc/resources/display_item_list.h
@@ -29,6 +29,9 @@ class CC_EXPORT DisplayItemList
void AppendItem(scoped_ptr<DisplayItem> item);
+ void set_layer_rect(gfx::Rect layer_rect) { layer_rect_ = layer_rect; }
+ gfx::Rect layer_rect() const { return layer_rect_; }
+
bool IsSuitableForGpuRasterization() const;
int ApproximateOpCount() const;
size_t PictureMemoryUsage() const;
@@ -41,6 +44,7 @@ class CC_EXPORT DisplayItemList
DisplayItemList();
~DisplayItemList();
ScopedPtrVector<DisplayItem> items_;
+ gfx::Rect layer_rect_;
bool is_suitable_for_gpu_rasterization_;
int approximate_op_count_;
« no previous file with comments | « cc/resources/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