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

Unified Diff: chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc

Issue 1572743002: Make sure bubbles in Views default to close before their RenderFrameHosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Move DCHECK string into longer comment Created 4 years, 10 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 | « chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc b/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
index 8ca66407287cfea142d9fb79fb54da8fa20a6832..7db53f219718fc244b83ae32966e3166541fc39e 100644
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
@@ -8,8 +8,9 @@
#include "chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h"
#include "components/bubble/bubble_controller.h"
-BluetoothChooserBubbleDelegate::BluetoothChooserBubbleDelegate(Browser* browser)
- : ChooserBubbleDelegate(browser), bluetooth_chooser_(nullptr) {}
+BluetoothChooserBubbleDelegate::BluetoothChooserBubbleDelegate(
+ content::RenderFrameHost* owner)
+ : ChooserBubbleDelegate(owner), bluetooth_chooser_(nullptr) {}
BluetoothChooserBubbleDelegate::~BluetoothChooserBubbleDelegate() {
if (bluetooth_chooser_)
« no previous file with comments | « chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698