commit | 4f5ef9adffa75f1018ec64dd2eff1df13fb9cbc1 | [log] [tgz] |
---|---|---|
author | Fabrice de Gans-Riberi <[email protected]> | Thu Oct 31 23:46:46 2019 |
committer | Commit Bot <[email protected]> | Thu Oct 31 23:46:46 2019 |
tree | cb250f55ca8af35f2821a0704d78c3a8713c2756 | |
parent | 3a62eb5de15b08daa4c8b9879064b616a0b00a17 [diff] [blame] |
[fuchsia] Implement no-op TtsPlatform. This prevents a browser crash when a page attempts to use the Web Speech API. Bug: 1019511 Change-Id: Ie369adc51dc4fa8228bd9df5a1b102dffd44daa2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888105 Reviewed-by: David Dorwin <[email protected]> Reviewed-by: David Tseng <[email protected]> Commit-Queue: Fabrice de Gans-Riberi <[email protected]> Cr-Commit-Position: refs/heads/master@{#711528}
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn index 352901c9..5d1e281 100644 --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn
@@ -2035,7 +2035,10 @@ } if (is_fuchsia) { - sources += [ "child_process_launcher_helper_fuchsia.cc" ] + sources += [ + "child_process_launcher_helper_fuchsia.cc", + "speech/tts_fuchsia.cc", + ] deps += [ "//third_party/fuchsia-sdk/sdk:zx" ] } else if (is_posix) { sources += [