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

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 1672103002: Pass the frame instead of the WebContents through RunBluetoothChooser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@doc-bubble-lifetimes
Patch Set: Sync 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
Index: content/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 71c307560a8a3c08d778f3416568277aea44ff51..66c6bd31d716de5ae8e47499edf50dc00f9eb534 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -154,7 +154,7 @@ JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager(
}
scoped_ptr<BluetoothChooser> WebContentsDelegate::RunBluetoothChooser(
- WebContents* web_contents,
+ RenderFrameHost* frame,
const BluetoothChooser::EventHandler& event_handler,
const url::Origin& origin) {
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698