diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 11:16:50 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 11:16:50 +0000 |
commit | 80331808456ea96d94c0b523d51931b0d29f4ed7 (patch) | |
tree | d1c019200965628097f86fbf3785ec36086b5944 /android_webview/javatests | |
parent | f8c37e3acd81e677f83f883bb943eea65254213a (diff) | |
download | chromium_src-80331808456ea96d94c0b523d51931b0d29f4ed7.zip chromium_src-80331808456ea96d94c0b523d51931b0d29f4ed7.tar.gz chromium_src-80331808456ea96d94c0b523d51931b0d29f4ed7.tar.bz2 |
Fix crash in NSSpeechSynthesizer by explicitly retaining NSString.
This definitely fixes one crash that was easy to repro by
speaking text at a high rate (~900 wpm) with the Samantha
voice on OS X 10.8.2. Retaining the NSString passed to
startSpeakingString fixes the problem, so this change
makes a one-time-use subclass of NSSpeechSynthesizer that
holds onto its utterance string while it's alive.
http://openradar.appspot.com/radar?id=2854403
BUG=99116
Review URL: https://chromiumcodereview.appspot.com/12636005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/javatests')
0 files changed, 0 insertions, 0 deletions