commit | 64688912fcb37e06fd8b6259d18b4297ec547a74 | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <[email protected]> | Mon Nov 02 11:55:52 2020 |
committer | Commit Bot <[email protected]> | Thu Nov 05 11:01:31 2020 |
tree | 451e41dd9fb94cf92d9d36b97dd4c34ad461adb8 | |
parent | 771ac0bce101ad7aca6f3b648f44ade9b2f3b1e5 [diff] [blame] |
Typecheck media/TickingFlameChart.js with TypeScript [email protected] Bug: 1011811 Change-Id: Id93244c6f25dd125c7084cecd9fad3623c29d106 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2510395 Commit-Queue: Tim van der Lippe <[email protected]> Reviewed-by: Ted Meyer <[email protected]> Auto-Submit: Tim van der Lippe <[email protected]>
diff --git a/front_end/perf_ui/FlameChart.js b/front_end/perf_ui/FlameChart.js index 88ee05f..cef3676 100644 --- a/front_end/perf_ui/FlameChart.js +++ b/front_end/perf_ui/FlameChart.js
@@ -634,7 +634,7 @@ /** * @param {string} eventName - * @param {function(!Event):undefined} onEvent + * @param {function(!Event):void} onEvent */ bindCanvasEvent(eventName, onEvent) { this._canvas.addEventListener(eventName, onEvent);