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

Unified Diff: chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc

Issue 2409713002: Don't clear controller_ in ExtensionInstalledBubbleView::CloseBubble. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
index 85331a2314e33042bda8588e73a22e6ae9e7ca33..fd76bd438755f9b5417f5169d2a78b0c0af2cfe2 100644
--- a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
@@ -166,7 +166,6 @@ void ExtensionInstalledBubbleView::CloseBubble() {
->GetPageAction(*controller_->extension()),
false); // preview_enabled
}
- controller_ = nullptr;
Devlin 2016/10/10 18:53:17 My guess is that this was because the lifetime of
Evan Stade 2016/10/10 21:30:18 no
Devlin 2016/10/10 21:41:21 My guess is that users can trigger some pretty fun
Devlin 2016/10/25 22:09:26 If we're going to remove this, can we add a did_cl
Evan Stade 2016/10/26 14:16:53 added a dcheck
GetWidget()->Close();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698