Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slightly re-factor the
transportFactory
initialization in `getDocum…
…ent` Given that the `WorkerTransport`-constructor will access all possible factory-instances, let's ensure that the `transportFactory`-object always has a consistent shape regardless of other options. Also, since `useWorkerFetch` is always true in MOZCENTRAL builds we never need to create `CMapReaderFactory`/`StandardFontDataFactory`-instances there.
- Loading branch information