Index: chrome/browser/chromeos/login/hid_detection_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/hid_detection_browsertest.cc b/chrome/browser/chromeos/login/hid_detection_browsertest.cc |
index 75ad707c775e5ec45dbf0e0c9703627e38d1ed27..facfcfda020183070f9b39acd296584e345b828f 100644 |
--- a/chrome/browser/chromeos/login/hid_detection_browsertest.cc |
+++ b/chrome/browser/chromeos/login/hid_detection_browsertest.cc |
@@ -51,7 +51,7 @@ class HidDetectionTest : public OobeBaseTest { |
typedef device::InputServiceLinux::InputDeviceInfo InputDeviceInfo; |
HidDetectionTest() : weak_ptr_factory_(this) { |
- InputServiceProxy::SetThreadIdForTesting(content::BrowserThread::UI); |
+ InputServiceProxy::SetUseUIThreadForTesting(true); |
HidDetectionTest::InitInputService(); |
} |