Chromium Code Reviews| Index: cc/resources/display_list_recording_source.cc |
| diff --git a/cc/resources/display_list_recording_source.cc b/cc/resources/display_list_recording_source.cc |
| index 367b23d73a11b5ab432e566dc837d2dda5c62910..296036d7c3e10961d4df016c560bb5ef11fc5581 100644 |
| --- a/cc/resources/display_list_recording_source.cc |
| +++ b/cc/resources/display_list_recording_source.cc |
| @@ -28,6 +28,7 @@ namespace cc { |
| DisplayListRecordingSource::DisplayListRecordingSource() |
| : slow_down_raster_scale_factor_for_debug_(0), |
| + gather_pixel_refs_(false), |
| requires_clear_(false), |
| is_solid_color_(false), |
| solid_color_(SK_ColorTRANSPARENT), |
| @@ -135,6 +136,10 @@ void DisplayListRecordingSource::SetSlowdownRasterScaleFactor(int factor) { |
| slow_down_raster_scale_factor_for_debug_ = factor; |
| } |
| +void DisplayListRecordingSource::SetGatherPixelRefs(bool gather_pixel_refs) { |
|
danakj
2015/03/20 17:10:26
how is this change related to this CL?
|
| + gather_pixel_refs_ = gather_pixel_refs; |
| +} |
| + |
| void DisplayListRecordingSource::SetBackgroundColor(SkColor background_color) { |
| background_color_ = background_color; |
| } |