| Index: cc/layers/video_layer.cc
|
| diff --git a/cc/layers/video_layer.cc b/cc/layers/video_layer.cc
|
| index 6cba239e0226f9b9ccf1b0f4013cbf288bcd3e96..8d728e0a8e067a9298a06b427fffbee10df1771b 100644
|
| --- a/cc/layers/video_layer.cc
|
| +++ b/cc/layers/video_layer.cc
|
| @@ -24,12 +24,16 @@ scoped_ptr<LayerImpl> VideoLayer::CreateLayerImpl(LayerTreeImpl* tree_impl) {
|
|
|
| bool VideoLayer::Update(ResourceUpdateQueue* queue,
|
| const OcclusionTracker* occlusion) {
|
| + bool updated = Layer::Update(queue, occlusion);
|
| +
|
| // Video layer doesn't update any resources from the main thread side,
|
| // but repaint rects need to be sent to the VideoLayerImpl via commit.
|
| //
|
| // This is the inefficient legacy redraw path for videos. It's better to
|
| // communicate this directly to the VideoLayerImpl.
|
| - return !update_rect_.IsEmpty();
|
| + updated |= !update_rect_.IsEmpty();
|
| +
|
| + return updated;
|
| }
|
|
|
| } // namespace cc
|
|
|