diff options
-rw-r--r-- | views/controls/native/native_view_host_win.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/controls/native/native_view_host_win.cc b/views/controls/native/native_view_host_win.cc index 87c6c3b..737b6f9 100644 --- a/views/controls/native/native_view_host_win.cc +++ b/views/controls/native/native_view_host_win.cc @@ -49,6 +49,8 @@ void NativeViewHostWin::NativeViewAttached() { } void NativeViewHostWin::NativeViewDetaching(bool destroyed) { + if (!destroyed && installed_clip_) + UninstallClip(); installed_clip_ = false; // Notify children that parent is removed std::vector<RootView*> root_views; |