| Index: cc/layers/picture_layer.cc
|
| diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
|
| index 672aab4788aa86d5c80f6582b4588860ae21a028..ad1d5a0fc7d091019f5ac25c6a2726f2c003bb12 100644
|
| --- a/cc/layers/picture_layer.cc
|
| +++ b/cc/layers/picture_layer.cc
|
| @@ -73,6 +73,8 @@ void PictureLayer::PushPropertiesTo(LayerImpl* base_layer) {
|
| bool can_use_lcd_text = layer_impl->RasterSourceUsesLCDText();
|
| scoped_refptr<RasterSource> raster_source =
|
| recording_source_->CreateRasterSource(can_use_lcd_text);
|
| + layer_impl->set_gpu_raster_max_texture_size(
|
| + layer_tree_host()->device_viewport_size());
|
| layer_impl->UpdateRasterSource(raster_source, &recording_invalidation_,
|
| nullptr);
|
| DCHECK(recording_invalidation_.IsEmpty());
|
| @@ -95,6 +97,7 @@ void PictureLayer::SetLayerTreeHost(LayerTreeHost* host) {
|
| recording_source_->DidMoveToNewCompositor();
|
| recording_source_->SetSlowdownRasterScaleFactor(
|
| host->debug_state().slow_down_raster_scale_factor);
|
| + recording_source_->SetGatherPixelRefs(host->settings().gather_pixel_refs);
|
|
|
| DCHECK(host->settings().raster_enabled);
|
| }
|
|
|