| Index: cc/layers/picture_layer.cc
|
| diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
|
| index 2e7a90b9fca61f5c571e37385bb31fb2d07e47c1..4e9a4c4767dcec71bb30dc39f2db840082c27af1 100644
|
| --- a/cc/layers/picture_layer.cc
|
| +++ b/cc/layers/picture_layer.cc
|
| @@ -69,8 +69,8 @@ void PictureLayer::SetNeedsDisplayRect(const gfx::RectF& layer_rect) {
|
| Layer::SetNeedsDisplayRect(layer_rect);
|
| }
|
|
|
| -bool PictureLayer::Update(ResourceUpdateQueue*,
|
| - const OcclusionTracker*) {
|
| +bool PictureLayer::Update(ResourceUpdateQueue* queue,
|
| + const OcclusionTracker* occlusion) {
|
| // Do not early-out of this function so that PicturePile::Update has a chance
|
| // to record pictures due to changing visibility of this layer.
|
|
|
| @@ -79,6 +79,8 @@ bool PictureLayer::Update(ResourceUpdateQueue*,
|
| benchmark_instrumentation::kSourceFrameNumber,
|
| layer_tree_host()->source_frame_number());
|
|
|
| + Layer::Update(queue, occlusion);
|
| +
|
| pile_->Resize(paint_properties().bounds);
|
|
|
| // Calling paint in WebKit can sometimes cause invalidations, so save
|
|
|