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

Unified Diff: components/constrained_window/constrained_window_views.cc

Issue 2474783002: Fix memory leak for extension uninstall dialog. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/constrained_window/constrained_window_views.cc
diff --git a/components/constrained_window/constrained_window_views.cc b/components/constrained_window/constrained_window_views.cc
index 1568c72dde694ea6257cbdc271024b2cfc5a567e..3ed86ce06852a9da707d5868000e19a7103a8b7d 100644
--- a/components/constrained_window/constrained_window_views.cc
+++ b/components/constrained_window/constrained_window_views.cc
@@ -60,7 +60,7 @@ class WidgetModalDialogHostObserverViews
}
// WidgetObserver overrides
- void OnWidgetClosing(views::Widget* widget) override { delete this; }
+ void OnWidgetDestroying(views::Widget* widget) override { delete this; }
// WebContentsModalDialogHostObserver overrides
void OnPositionRequiresUpdate() override {
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698