-
Evan Stade authored
The InputDeviceClient needs to only be created once, so remove it from AuraTestSuiteSetup. Otherwise, in BrowserWithTestWindowTest, it gets created twice: during test suite setup, and as part of OzonePlatform (due to AshTestHelper/ash::Shell). Many tests still need one though, especially those that create a WebContents, so add it to RenderViewHostTestEnabler, which should take care of all RenderViewHostTestHarness tests or tests that create the enabler manually. Also update a few other tests to either create their own RenderViewHostTestEnabler or InputDeviceClient as appropriate. Also the InputDeviceManager can be a true singleton now (not thread- singleton). Bug: 905430 Change-Id: I2974968efe0415f0b56218e24b4fa546a1524fe1 Reviewed-on: https://chromium-review.googlesource.com/c/1341075Reviewed-by:
Scott Violet <sky@chromium.org> Commit-Queue: Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#611556}
01dd4ead