-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1523920 - P4: Move the state from SpeechSynthesisUtterance to nsS…
…peechTask. r=eeejay It would be easier to reuse the utterance if it's stateless. The state could still be tracked by moving from SpeechSynthesisUtterance to nsSpeechTask, which is the place to change the state in original implementation. By removing state in utterance, we don't need to check the state of utterance when it's pushed into the speech queue. Differential Revision: https://phabricator.services.mozilla.com/D35464 UltraBlame original commit: c5c1ac80fd436e1c002b2ad25fb0a9529ebcdadd
- Loading branch information
Showing
6 changed files
with
164 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -241,10 +241,6 @@ mPitch | |
( | ||
1 | ||
) | ||
mState | ||
( | ||
STATE_NONE | ||
) | ||
mPaused | ||
( | ||
false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.