Index: ash/shell/window_type_launcher.cc |
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc |
index e923a153b44437dc394db4350a8fc36bacb8ca76..09843bcc1ea94a2f1b41759468cb69da064a90d3 100644 |
--- a/ash/shell/window_type_launcher.cc |
+++ b/ash/shell/window_type_launcher.cc |
@@ -160,6 +160,8 @@ class NonModalTransient : public views::WidgetDelegateView { |
virtual void DeleteDelegate() OVERRIDE { |
if (GetWidget() == non_modal_transient_) |
non_modal_transient_ = NULL; |
+ |
+ delete this; |
} |
private: |