| Index: ui/views/widget/native_widget_aura.cc
|
| diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
|
| index 86012a5b5c49a84a21366e22678f38dd30a5b3ea..3755e9be30ec983a5613bf53c9777766c9ef70a0 100644
|
| --- a/ui/views/widget/native_widget_aura.cc
|
| +++ b/ui/views/widget/native_widget_aura.cc
|
| @@ -804,11 +804,10 @@ void NativeWidgetAura::GetHitTestMask(gfx::Path* mask) const {
|
| delegate_->GetHitTestMask(mask);
|
| }
|
|
|
| -scoped_refptr<ui::Texture> NativeWidgetAura::CopyTexture() {
|
| - // The layer we create doesn't have an external texture, so this should never
|
| - // get invoked.
|
| - NOTREACHED();
|
| - return scoped_refptr<ui::Texture>();
|
| +void NativeWidgetAura::DidRecreateLayer(ui::Layer *old_layer,
|
| + ui::Layer *new_layer) {
|
| + // The layer we create doesn't have an external texture, so we don't need to
|
| + // do anything.
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|