| Index: content/shell/browser/shell.cc
|
| diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
|
| index 8164ad6da3527dc3b78a702e955176880f755e27..5b5e030ac5f326267d3711fb52feb8b4477bb9ec 100644
|
| --- a/content/shell/browser/shell.cc
|
| +++ b/content/shell/browser/shell.cc
|
| @@ -384,14 +384,13 @@ JavaScriptDialogManager* Shell::GetJavaScriptDialogManager(
|
| }
|
|
|
| scoped_ptr<BluetoothChooser> Shell::RunBluetoothChooser(
|
| - WebContents* web_contents,
|
| - const BluetoothChooser::EventHandler& event_handler,
|
| - const url::Origin& origin) {
|
| + RenderFrameHost* frame,
|
| + const BluetoothChooser::EventHandler& event_handler) {
|
| const base::CommandLine& command_line =
|
| *base::CommandLine::ForCurrentProcess();
|
| if (command_line.HasSwitch(switches::kRunLayoutTest)) {
|
| - return BlinkTestController::Get()->RunBluetoothChooser(
|
| - web_contents, event_handler, origin);
|
| + return BlinkTestController::Get()->RunBluetoothChooser(frame,
|
| + event_handler);
|
| }
|
| return nullptr;
|
| }
|
|
|