commit | bbca64591c082f6722c378a3ba6a0ca5956e19e1 | [log] [tgz] |
---|---|---|
author | James Cook <[email protected]> | Wed Jan 13 17:26:03 2021 |
committer | Chromium LUCI CQ <[email protected]> | Wed Jan 13 17:26:03 2021 |
tree | 9558435c36942bf1cc08aa513db0aae7f984bd20 | |
parent | c0f0f9171a1477cee19ac1bb8f586e3a59c4459e [diff] [blame] |
ash: Clean up SetTabletModeEnabledForTest The wait_for_completion parameter is unused. Remove it. Bug: none Change-Id: Ifef5cb2a3fab2cd96d7ce0515384b15c262c399d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625982 Auto-Submit: James Cook <[email protected]> Commit-Queue: Xiaoqian Dai <[email protected]> Reviewed-by: Xiaoqian Dai <[email protected]> Cr-Commit-Position: refs/heads/master@{#843062}
diff --git a/ash/shell_test_api.cc b/ash/shell_test_api.cc index a1f92006..94f7aaf 100644 --- a/ash/shell_test_api.cc +++ b/ash/shell_test_api.cc
@@ -157,8 +157,7 @@ return Shell::IsSystemModalWindowOpen(); } -void ShellTestApi::SetTabletModeEnabledForTest(bool enable, - bool wait_for_completion) { +void ShellTestApi::SetTabletModeEnabledForTest(bool enable) { // Detach mouse devices, so we can enter tablet mode. // Calling RunUntilIdle() here is necessary before setting the mouse devices // to prevent the callback from evdev thread from overwriting whatever we set