Change the parameter name for consistency
This commit is contained in:
parent
6717f0d2bb
commit
75b2915fee
4 changed files with 6 additions and 6 deletions
|
@ -869,10 +869,10 @@ bool App::IsAccessibilitySupportEnabled() {
|
|||
return ax_state->IsAccessibleBrowser();
|
||||
}
|
||||
|
||||
void App::SetAccessibilitySupportEnabled(bool value) {
|
||||
void App::SetAccessibilitySupportEnabled(bool enabled) {
|
||||
auto ax_state = content::BrowserAccessibilityState::GetInstance();
|
||||
|
||||
if (value) {
|
||||
if (enabled) {
|
||||
ax_state->OnScreenReaderDetected();
|
||||
} else {
|
||||
ax_state->DisableAccessibility();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue