Avoids crash in content_shell when accessibility is on
Windows screen readers call IAccessible::get_appName and IAccessible::get_appVersion to determine that Chrome is running and retrieve its version for loading the correct scripts. However, when the content_shell is running instead of Chrome, |GetProduct| returns an empty string. Since screen reader access is not essential while content_shell is running, we simply return E_FAIL for both these API calls rather than DCHECK. R=dmazzoni@chromium.org Change-Id: Iec62c134cd55b204fe460ff0d632b280996297a3 Reviewed-on: https://chromium-review.googlesource.com/1232583Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#592516}
Showing
Please register or sign in to comment