This commit ensures that a valid TtsPlatform is returned to fix
segmentation fault crash related to it on following websites.
www.baidu.com
www.hao123.com
www.flipkart.com
Change-Id: I86e9f50fb7f54be8980dabc114ac45af7b7d4a8c
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
]
}
- if (is_linux) {
+ if (is_linux || is_tizen) {
sources += [ "speech/tts_linux.cc" ]
deps += [
"//third_party/speech-dispatcher",
// static
TtsPlatform* TtsPlatform::GetInstance() {
-#if defined(EWK_BRINGUP)
- LOG(ERROR) << " Need to enable tts for Tizen";
- return nullptr;
-#endif
#if !defined(NO_CONTENT_CLIENT)
TtsPlatform* result = GetContentClient()->browser()->GetTtsPlatform();
if (result)