diff --git a/browser/farbling/brave_navigator_usb_farbling_browsertest.cc b/browser/farbling/brave_navigator_usb_farbling_browsertest.cc index d6905669e8d5..6056d9a25122 100644 --- a/browser/farbling/brave_navigator_usb_farbling_browsertest.cc +++ b/browser/farbling/brave_navigator_usb_farbling_browsertest.cc @@ -120,16 +120,16 @@ class TestUsbDelegate : public ChromeUsbDelegate { std::unique_ptr RunChooser( content::RenderFrameHost& frame, - std::vector filters, + blink::mojom::WebUsbRequestDeviceOptionsPtr options, blink::mojom::WebUsbService::GetPermissionCallback callback) override { if (use_fake_chooser_) { auto chooser = std::make_unique(); chooser->ShowChooser( &frame, std::make_unique( - &frame, std::move(filters), std::move(callback))); + &frame, std::move(options), std::move(callback))); return chooser; } else { - return ChromeUsbDelegate::RunChooser(frame, std::move(filters), + return ChromeUsbDelegate::RunChooser(frame, std::move(options), std::move(callback)); } }