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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm

Issue 563093003: Fix Mac password bubble crash due to the "nope" menu hanging around. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm
index 1f6b53570d477116a8ea93662e7d7191b8979fb8..b3be40463009b4e9af0d884189ff977a91df6c6b 100644
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.mm
@@ -42,6 +42,11 @@
[super showWindow:sender];
}
+- (void)close {
+ [currentController_ bubbleWillDisappear];
+ [super close];
+}
+
- (void)updateState {
// Find the next view controller.
currentController_.reset();

Powered by Google App Engine
This is Rietveld 408576698