From 88173948eed970b3cc5c215ec3541fcc08b1723c Mon Sep 17 00:00:00 2001 From: Michael Hays Date: Tue, 29 Nov 2022 13:37:18 -0800 Subject: [PATCH] Internal change PiperOrigin-RevId: 491724816 --- mediapipe/web/graph_runner/graph_runner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mediapipe/web/graph_runner/graph_runner.ts b/mediapipe/web/graph_runner/graph_runner.ts index 9a8101659..a9bb979af 100644 --- a/mediapipe/web/graph_runner/graph_runner.ts +++ b/mediapipe/web/graph_runner/graph_runner.ts @@ -1085,8 +1085,8 @@ async function runScript(scriptUrl: string) { */ export async function createMediaPipeLib( constructorFcn: WasmMediaPipeConstructor, - wasmLoaderScript?: string, - assetLoaderScript?: string, + wasmLoaderScript?: string|null, + assetLoaderScript?: string|null, glCanvas?: HTMLCanvasElement|OffscreenCanvas|null, fileLocator?: FileLocator): Promise { const scripts = [];