Commit 15ea3c47 authored by Katie D's avatar Katie D Committed by Commit Bot

Fix Fuchsia compile bug with TtsPlatform.

Bug: 910653
Change-Id: Id6009d4789c560e54c450377c16f1013e57a914c
Reviewed-on: https://chromium-review.googlesource.com/c/1356886Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Katie Dektar <katie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612744}
parent dd00eddb
...@@ -14,7 +14,11 @@ namespace content { ...@@ -14,7 +14,11 @@ namespace content {
// static // static
TtsPlatform* TtsPlatform::GetInstance() { TtsPlatform* TtsPlatform::GetInstance() {
#if defined(OS_CHROMEOS) || defined(OS_ANDROID) #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
// Chrome and Android TTS platforms have chrome/ dependencies.
return GetContentClient()->browser()->GetTtsPlatform(); return GetContentClient()->browser()->GetTtsPlatform();
#elif defined(OS_FUCHSIA)
// There is no platform TTS definition for Fuchsia.
return nullptr;
#else #else
return TtsPlatformImpl::GetInstance(); return TtsPlatformImpl::GetInstance();
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment