Skip to content
Commit c0cbf864 authored by Jean-Philippe Gravel's avatar Jean-Philippe Gravel Committed by Chromium LUCI CQ
Browse files

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: default avatarAndres Ricardo Perez <andresrperez@chromium.org>
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1282120}
parent 22f57e29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment