| Index: ui/aura/window.cc
|
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc
|
| index 26f3929e1e2516a18c60f14684ec9b0cf700fec5..0e4c66abec0770342aad766fc81764219200bc00 100644
|
| --- a/ui/aura/window.cc
|
| +++ b/ui/aura/window.cc
|
| @@ -159,7 +159,7 @@ ui::Layer* Window::RecreateLayer() {
|
| old_layer->GetTextureMailbox(&mailbox_scale_factor);
|
| scoped_refptr<ui::Texture> old_texture = old_layer->external_texture();
|
| if (delegate_ && old_texture.get())
|
| - old_layer->SetExternalTexture(delegate_->CopyTexture());
|
| + old_layer->SetExternalTexture(delegate_->CopyTexture().get());
|
|
|
| layer_ = new ui::Layer(old_layer->type());
|
| layer_owner_.reset(layer_);
|
|
|