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

Unified Diff: content/shell/browser/blink_test_controller.cc

Issue 1601323002: Use GetLastCommittedOrigin instead of GetLastCommittedURL in bluetooth chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed bluetooth test at: requestDevice.html Created 4 years, 11 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/shell/browser/blink_test_controller.cc
diff --git a/content/shell/browser/blink_test_controller.cc b/content/shell/browser/blink_test_controller.cc
index db0142530440748ce62ecf5d0aac16546292346e..623a6677e64e862ee15d86d44ad20b58e96cc2ee 100644
--- a/content/shell/browser/blink_test_controller.cc
+++ b/content/shell/browser/blink_test_controller.cc
@@ -378,7 +378,7 @@ bool BlinkTestController::IsMainWindow(WebContents* web_contents) const {
scoped_ptr<BluetoothChooser> BlinkTestController::RunBluetoothChooser(
WebContents* web_contents,
const BluetoothChooser::EventHandler& event_handler,
- const GURL& origin) {
+ const url::Origin& origin) {
if (bluetooth_chooser_factory_) {
return bluetooth_chooser_factory_->RunBluetoothChooser(
web_contents, event_handler, origin);

Powered by Google App Engine
This is Rietveld 408576698