| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index 6c0fde3e1c58c69c6562535111872afbd3406c31..42bbd096ba19bae7fa9aef3be2ede0483bc48fbd 100644
|
| --- a/ui/compositor/layer.cc
|
| +++ b/ui/compositor/layer.cc
|
| @@ -436,7 +436,7 @@ void Layer::SwitchToLayer(scoped_refptr<cc::Layer> new_layer) {
|
| }
|
|
|
| if (texture_layer_.get())
|
| - texture_layer_->WillModifyTexture();
|
| + texture_layer_->ClearClient();
|
| // TODO(piman): delegated_renderer_layer_ cleanup.
|
|
|
| cc_layer_->RemoveAllChildren();
|
|
|