Merge pull request #16086 from mozilla/Snuffleupagus-textLayer-OffscreenCanvas
Use `OffscreenCanvas` as intended for all code-paths in `src/display/text_layer.js` (PR 15722 follow-up)
This commit is contained in:
commit
af64149885
@ -311,6 +311,7 @@ class TextLayerRenderTask {
|
||||
this._container = this._rootContainer = container;
|
||||
this._textDivs = textDivs || [];
|
||||
this._textContentItemsStr = textContentItemsStr || [];
|
||||
this._isOffscreenCanvasSupported = isOffscreenCanvasSupported;
|
||||
this._fontInspectorEnabled = !!globalThis.FontInspector?.enabled;
|
||||
|
||||
this._reader = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user