Index: chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc b/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc |
index f86c942311dd625619be3cdb9ba3aab3e14ae292..c662be27af8e349bf4e5f3337b1154ce102623b6 100644 |
--- a/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc |
+++ b/chrome/browser/chromeos/login/bluetooth_host_pairing_browsertest.cc |
@@ -67,7 +67,7 @@ class BluetoothHostPairingNoInputTest : public OobeBaseTest { |
using InputDeviceInfo = device::InputServiceLinux::InputDeviceInfo; |
BluetoothHostPairingNoInputTest() { |
- InputServiceProxy::SetThreadIdForTesting(content::BrowserThread::UI); |
+ InputServiceProxy::SetUseUIThreadForTesting(true); |
device::InputServiceLinux::SetForTesting( |
base::MakeUnique<device::FakeInputServiceLinux>()); |