| Index: cc/layers/layer_impl.h
|
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
|
| index 12f1dcaeeff39c10176523f6d21bbe3bc5d6b2de..4fae1662b4b8bcbce0c2d2c2ea5dede4bf182f38 100644
|
| --- a/cc/layers/layer_impl.h
|
| +++ b/cc/layers/layer_impl.h
|
| @@ -567,6 +567,14 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
| void Set3dSortingContextId(int id);
|
| int sorting_context_id() { return sorting_context_id_; }
|
|
|
| + // TODO(vollick): These is temporary and will be removed as soon as render
|
| + // surface determinations are moved out of CDP. They only exist because
|
| + // certain logic depends on whether or not a layer would render to a separate
|
| + // surface, but CDP destroys surfaces and targets it doesn't need, so without
|
| + // this boolean, this is impossible to determine after the fact without
|
| + // wastefully recomputing it.
|
| + void SetHasRenderSurface(bool value) {}
|
| +
|
| protected:
|
| LayerImpl(LayerTreeImpl* layer_impl, int id);
|
|
|
|
|