A11y: Refactor out UpdateEnabledState
UpdateEnabledState is really 2 functions in one: UpdateEnabledState(true) is only called from Enable, and UpdateEnabledState(false) is only called from ~Connector. Despite its name, UpdateEnabledState(false) must not actually disable accessibility, because of bugs 775532 and 792269. So fold the 2 parts into their respective call sites. BUG=792269 Change-Id: Ie7afcebda79820d4856a8b050f9b865c2bd1f5c3 Reviewed-on: https://chromium-review.googlesource.com/812084Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Brian White <bcwhite@chromium.org> Commit-Queue: Paul Miller <paulmiller@chromium.org> Cr-Commit-Position: refs/heads/master@{#523540}
Showing
Please register or sign in to comment