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

Unified Diff: cc/resources/display_list_recording_source.h

Issue 1045953002: Implement DisplayList GatherPixelRefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crash w/ unittest Created 5 years, 9 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_list_raster_source.cc ('k') | cc/resources/display_list_recording_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/display_list_recording_source.h
diff --git a/cc/resources/display_list_recording_source.h b/cc/resources/display_list_recording_source.h
index 53d7fa5b4d0376480a5fb5fad4ee5b69af785101..a87c8489e973fbafe887312d6e72a3b6e13280c7 100644
--- a/cc/resources/display_list_recording_source.h
+++ b/cc/resources/display_list_recording_source.h
@@ -14,7 +14,7 @@ class DisplayListRasterSource;
class CC_EXPORT DisplayListRecordingSource : public RecordingSource {
public:
- DisplayListRecordingSource();
+ explicit DisplayListRecordingSource(const gfx::Size& grid_cell_size);
~DisplayListRecordingSource() override;
// RecordingSource overrides.
@@ -49,6 +49,7 @@ class CC_EXPORT DisplayListRecordingSource : public RecordingSource {
SkColor solid_color_;
SkColor background_color_;
int pixel_record_distance_;
+ gfx::Size grid_cell_size_;
scoped_refptr<DisplayItemList> display_list_;
« no previous file with comments | « cc/resources/display_list_raster_source.cc ('k') | cc/resources/display_list_recording_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698