Index: views/controls/native/native_view_host_aura.cc |
diff --git a/views/controls/native/native_view_host_aura.cc b/views/controls/native/native_view_host_aura.cc |
index f292331c2ef9774e9bc45296ffbffabe1efb40c9..888ece70a1c01681744547f1efa11f670b00b148 100644 |
--- a/views/controls/native/native_view_host_aura.cc |
+++ b/views/controls/native/native_view_host_aura.cc |
@@ -35,7 +35,6 @@ void NativeViewHostAura::NativeViewDetaching(bool destroyed) { |
if (!destroyed) { |
host_->native_view()->RemoveObserver(this); |
host_->native_view()->Hide(); |
- host_->GetWidget()->GetNativeView()->RemoveChild(host_->native_view()); |
} |
} |