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

Unified Diff: chrome/browser/android/tab_web_contents_delegate_android.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: chrome/browser/android/tab_web_contents_delegate_android.cc
diff --git a/chrome/browser/android/tab_web_contents_delegate_android.cc b/chrome/browser/android/tab_web_contents_delegate_android.cc
index 9a5d845293ef8aef6f2504449c57974789f15771..398367263c11912dce33f2c9ab4ba0fdf8cebfc4 100644
--- a/chrome/browser/android/tab_web_contents_delegate_android.cc
+++ b/chrome/browser/android/tab_web_contents_delegate_android.cc
@@ -123,11 +123,11 @@ void TabWebContentsDelegateAndroid::RunFileChooser(
}
scoped_ptr<BluetoothChooser> TabWebContentsDelegateAndroid::RunBluetoothChooser(
- content::WebContents* web_contents,
+ content::RenderFrameHost* frame,
const BluetoothChooser::EventHandler& event_handler,
const url::Origin& origin) {
return make_scoped_ptr(
- new BluetoothChooserAndroid(web_contents, event_handler, origin));
+ new BluetoothChooserAndroid(frame, event_handler, origin));
}
void TabWebContentsDelegateAndroid::CloseContents(

Powered by Google App Engine
This is Rietveld 408576698