| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index 1637d5e7451913d38ef09b3d5f66a01e799a74cb..e4161d87c7da70ad73962012c8a70778f0d50c2b 100644
|
| --- a/ui/compositor/layer.cc
|
| +++ b/ui/compositor/layer.cc
|
| @@ -458,7 +458,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();
|
|
|