summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-10-16 11:48:00 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-01 15:28:15 +0200
commit426a9755d99a9fc818f151d407cbc9bdcd434a5f (patch)
treedd88a166e589e344e1cd7be7eb24488552790405 /dom
parentc14bb310ce237c375a5cf4a89e7689ddfbf016c5 (diff)
downloaduxp-426a9755d99a9fc818f151d407cbc9bdcd434a5f.tar.gz
Issue #1053 - Remove Android systrace, more build system removals.
Also updates more comments.
Diffstat (limited to 'dom')
-rw-r--r--dom/media/webspeech/synth/pico/nsPicoService.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/dom/media/webspeech/synth/pico/nsPicoService.cpp b/dom/media/webspeech/synth/pico/nsPicoService.cpp
index c3cf812fcc..4f6c400107 100644
--- a/dom/media/webspeech/synth/pico/nsPicoService.cpp
+++ b/dom/media/webspeech/synth/pico/nsPicoService.cpp
@@ -514,13 +514,9 @@ nsPicoService::Init()
return;
}
- // Use environment variable, or default android/b2g path
+ // Use environment variable
nsAutoCString langPath(PR_GetEnv("PICO_LANG_PATH"));
- if (langPath.IsEmpty()) {
- langPath.AssignLiteral(GONK_PICO_LANG_PATH);
- }
-
nsCOMPtr<nsIFile> voicesDir;
NS_NewNativeLocalFile(langPath, true, getter_AddRefs(voicesDir));