Chromium Code Reviews
DescriptionFix 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188338
Patch Set 1 #
Total comments: 5
Patch Set 2 : Added comment, fixed whitespace #Patch Set 3 : Fix link to openradar #Messages
Total messages: 11 (0 generated)
|