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

Unified Diff: chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.mm

Issue 2850403002: Fix crash under ExclusiveAccessBubbleViews::AnimationProgressed(). (Closed)
Patch Set: respond to comments Created 3 years, 7 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/browser/exclusive_access_controller_views.mm
diff --git a/chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.mm b/chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.mm
index cbe83eba2422f154f8ba0a903fff38348e742f9b..f60f66d5a010900e0ebb3c6cf0f4355e07d3bc71 100644
--- a/chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.mm
+++ b/chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.mm
@@ -193,6 +193,11 @@ gfx::Rect ExclusiveAccessController::GetTopContainerBoundsInScreen() {
return gfx::Rect();
}
+void ExclusiveAccessController::DestroyAnyExclusiveAccessBubble() {
+ Destroy();
+ new_back_shortcut_bubble_.reset();
+}
+
BrowserWindow* ExclusiveAccessController::GetBrowserWindow() const {
return [controller_ browserWindow];
}

Powered by Google App Engine
This is Rietveld 408576698