Index: cc/layers/picture_layer.cc |
diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc |
index 5988bdf8079ee186eaf81eb28758d1debb047825..2234e2c0978d80157d68d4b1ade355b65619354b 100644 |
--- a/cc/layers/picture_layer.cc |
+++ b/cc/layers/picture_layer.cc |
@@ -87,7 +87,8 @@ void PictureLayer::SetLayerTreeHost(LayerTreeHost* host) { |
if (!recording_source_) { |
if (host->settings().use_display_lists) { |
- recording_source_.reset(new DisplayListRecordingSource); |
+ recording_source_.reset(new DisplayListRecordingSource( |
+ host->settings().default_tile_grid_size)); |
} else { |
recording_source_.reset( |
new PicturePile(host->settings().minimum_contents_scale, |
@@ -185,7 +186,8 @@ skia::RefPtr<SkPicture> PictureLayer::GetPicture() const { |
if (settings.use_display_lists) { |
scoped_ptr<RecordingSource> recording_source; |
- recording_source.reset(new DisplayListRecordingSource); |
+ recording_source.reset( |
+ new DisplayListRecordingSource(settings.default_tile_grid_size)); |
Region recording_invalidation; |
recording_source->UpdateAndExpandInvalidation( |
client_, &recording_invalidation, layer_size, gfx::Rect(layer_size), |