Thanks for taking. The conversion code in GpuArcVideoService::BindDmabuf() also checks the input and does some error handling: https://codereview.chromium.org/2505733003/diff2/40001:60001/chrome/gpu/gpu_arc_video_service.cc
If using type mappings for the function is not feasible because of the error handling, please just remove the TODO in GpuArcVideoService::BindDmabuf() and close the bug.
Comment 1 by yusukes@chromium.org
, Nov 17 2016