Read parameters from the params dict instead of passing them explicitly
Parameters like `name`, `expected` and `canvas_types` were passed by function parameters even though they were already passed via the params dictionary. `canvas_type` was stored there as a string, but with this CL, it's now converted to _CanvasType enum values so it could be used directly. Bug: 330885075 Change-Id: I9251b246fb4ba8693d107a0449654bde0ecb0ec3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5378880 Reviewed-by:Andres Ricardo Perez <andresrperez@chromium.org> Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org> Cr-Commit-Position: refs/heads/main@{#1282120}
Loading
Please register or sign in to comment