icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -55,9 +55,10 @@ class WorkletModuleLoader : public JS::loader::ModuleLoaderBase {
|
|||
void RemoveRequest(nsIURI* aURI);
|
||||
JS::loader::ModuleLoadRequest* GetRequest(nsIURI* aURI) const;
|
||||
|
||||
bool HasSetLocalizedStrings() const { return (bool)mLocalizedStrs; }
|
||||
void SetLocalizedStrings(const nsTArray<nsString>* aStrings) {
|
||||
mLocalizedStrs = aStrings;
|
||||
bool HasSetLocalizedStrings() const { return !mLocalizedStrs.IsEmpty(); }
|
||||
void SetLocalizedStrings(nsTArray<nsString>&& aStrings) {
|
||||
MOZ_ASSERT(!aStrings.IsEmpty());
|
||||
mLocalizedStrs = std::move(aStrings);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
@ -104,7 +105,7 @@ class WorkletModuleLoader : public JS::loader::ModuleLoaderBase {
|
|||
|
||||
// We get the localized strings on the main thread, and pass it to
|
||||
// WorkletModuleLoader.
|
||||
const nsTArray<nsString>* mLocalizedStrs = nullptr;
|
||||
nsTArray<nsString> mLocalizedStrs;
|
||||
};
|
||||
} // namespace loader
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue