summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/controls/native/native_view_host_aura.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/views/controls/native/native_view_host_aura.cc b/views/controls/native/native_view_host_aura.cc
index f292331..888ece7 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());
}
}