Avoid loading TTS library when not used
This CL fix a startup regression due to loading the voices DLLs early after startup. On startup, there a call to TtsControllerImpl::VoicesChanged(...). The call check whether or not the TTS platform is loaded (TtsPlatformLoading(...)). Unfortunately, this is accessing the singleton and creating it. The creation triggers the DLL loading. Bug: 869399 Change-Id: I639cec62ee176c36aee888413a1a91d893d165b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505575Reviewed-by:François Doray <fdoray@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/master@{#822723}
Showing
Please register or sign in to comment