| Index: cc/layers/picture_layer.cc
|
| diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
|
| index 0b92ff4a9d8a432eecfe8b6fa7335a24a0ddcb4e..bea6b0094c113676d310946d836170231284b8d2 100644
|
| --- a/cc/layers/picture_layer.cc
|
| +++ b/cc/layers/picture_layer.cc
|
| @@ -150,7 +150,8 @@ bool PictureLayer::Update() {
|
| DCHECK(client_);
|
| updated |= recording_source_->UpdateAndExpandInvalidation(
|
| client_, &recording_invalidation_, layer_size, update_rect,
|
| - update_source_frame_number_, DisplayListRecordingSource::RECORD_NORMALLY);
|
| + update_source_frame_number_, DisplayListRecordingSource::RECORD_NORMALLY,
|
| + layer_tree_host()->settings().blink_synchronized_painting_enabled);
|
| last_updated_visible_layer_rect_ = visible_layer_rect();
|
|
|
| if (updated) {
|
| @@ -181,7 +182,8 @@ skia::RefPtr<SkPicture> PictureLayer::GetPicture() const {
|
| Region recording_invalidation;
|
| recording_source->UpdateAndExpandInvalidation(
|
| client_, &recording_invalidation, layer_size, gfx::Rect(layer_size),
|
| - update_source_frame_number_, DisplayListRecordingSource::RECORD_NORMALLY);
|
| + update_source_frame_number_, DisplayListRecordingSource::RECORD_NORMALLY,
|
| + layer_tree_host()->settings().blink_synchronized_painting_enabled);
|
|
|
| scoped_refptr<DisplayListRasterSource> raster_source =
|
| recording_source->CreateRasterSource(false);
|
|
|