Merge pull request #10492 from electron/libcc-latest

Update libcc to latest
This commit is contained in:
Cheng Zhao
2017-09-12 16:18:47 +09:00
committed by GitHub
2 changed files with 1 additions and 3 deletions

View File

@@ -875,13 +875,11 @@ bool App::IsAccessibilitySupportEnabled() {
void App::SetAccessibilitySupportEnabled(bool enabled) {
auto ax_state = content::BrowserAccessibilityState::GetInstance();
if (enabled) {
ax_state->OnScreenReaderDetected();
} else {
ax_state->DisableAccessibility();
}
Browser::Get()->OnAccessibilitySupportChanged();
}