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); |
achuithb
2017/06/19 22:34:42
Do you know why we use the UI thread here (and in
xiyuan
2017/06/19 23:00:26
I did not look closely. Think it makes it easier t
achuithb
2017/06/20 08:36:48
Ok, I'm just wondering if we can get away from usi
|
device::InputServiceLinux::SetForTesting( |
base::MakeUnique<device::FakeInputServiceLinux>()); |