| Index: cc/layers/layer_impl.h
|
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
|
| index 1aaf5f2fd3ace537ec85f8c54ac62e455e9090f3..d1cf0530586d65e6566df624062c474671ff5626 100644
|
| --- a/cc/layers/layer_impl.h
|
| +++ b/cc/layers/layer_impl.h
|
| @@ -208,8 +208,11 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
| virtual RenderPassId FirstContributingRenderPassId() const;
|
| virtual RenderPassId NextContributingRenderPassId(RenderPassId id) const;
|
|
|
| - virtual void UpdateTiles(const Occlusion& occlusion_in_layer_space,
|
| - bool resourceless_software_draw) {}
|
| + // Updates the layer's tiles. This should return true if meaningful work was
|
| + // done. That is, if an early-out was hit and as a result the internal state
|
| + // of tiles didn't change, this function should return false.
|
| + virtual bool UpdateTiles(const Occlusion& occlusion_in_layer_space,
|
| + bool resourceless_software_draw);
|
| virtual void NotifyTileStateChanged(const Tile* tile) {}
|
|
|
| virtual ScrollbarLayerImplBase* ToScrollbarLayer();
|
|
|