summaryrefslogtreecommitdiffstats
path: root/views/controls/native_control.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/native_control.cc')
-rw-r--r--views/controls/native_control.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/views/controls/native_control.cc b/views/controls/native_control.cc
index 700da66..b23d150 100644
--- a/views/controls/native_control.cc
+++ b/views/controls/native_control.cc
@@ -287,8 +287,6 @@ HWND NativeControl::GetNativeControlHWND() {
}
void NativeControl::NativeControlDestroyed() {
- if (hwnd_view_)
- hwnd_view_->Detach();
container_ = NULL;
}