summaryrefslogtreecommitdiffstats
path: root/cc/resources/picture_pile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/picture_pile.cc')
-rw-r--r--cc/resources/picture_pile.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/resources/picture_pile.cc b/cc/resources/picture_pile.cc
index 6637e4d..27c58a1 100644
--- a/cc/resources/picture_pile.cc
+++ b/cc/resources/picture_pile.cc
@@ -153,6 +153,7 @@ bool PicturePile::Update(ContentLayerClient* painter,
const Region& invalidation,
const gfx::Rect& visible_layer_rect,
int frame_number,
+ Picture::RecordingMode recording_mode,
RenderingStatsInstrumentation* stats_instrumentation) {
background_color_ = background_color;
contents_opaque_ = contents_opaque;
@@ -243,7 +244,7 @@ bool PicturePile::Update(ContentLayerClient* painter,
tile_grid_info_,
gather_pixel_refs,
num_raster_threads,
- Picture::RECORD_NORMALLY);
+ recording_mode);
// Note the '&&' with previous is-suitable state.
// This means that once a picture-pile becomes unsuitable for gpu
// rasterization due to some content, it will continue to be unsuitable