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 e6488687451c64f6811206446aba1f633a1b6a0c..296036d7c3e10961d4df016c560bb5ef11fc5581 100644 |
--- a/cc/resources/display_list_recording_source.cc |
+++ b/cc/resources/display_list_recording_source.cc |
@@ -26,8 +26,7 @@ |
namespace cc { |
-DisplayListRecordingSource::DisplayListRecordingSource( |
- const gfx::Size& grid_cell_size) |
+DisplayListRecordingSource::DisplayListRecordingSource() |
: slow_down_raster_scale_factor_for_debug_(0), |
gather_pixel_refs_(false), |
requires_clear_(false), |
@@ -35,7 +34,6 @@ |
solid_color_(SK_ColorTRANSPARENT), |
background_color_(SK_ColorTRANSPARENT), |
pixel_record_distance_(kPixelDistanceToRecord), |
- grid_cell_size_(grid_cell_size), |
is_suitable_for_gpu_rasterization_(true) { |
} |
@@ -117,8 +115,6 @@ |
display_list_->EmitTraceSnapshot(); |
display_list_->CreateAndCacheSkPicture(); |
- if (gather_pixel_refs_) |
- display_list_->GatherPixelRefs(grid_cell_size_); |
return true; |
} |