Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: ash/shell/window_type_launcher.cc

Issue 11953066: Reland 179231 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:

Powered by Google App Engine
This is Rietveld 408576698