Currently we look for it on GPURasterizer::Draw, flutter/engine#32283 is going to change it to Rasterizer::DoDraw. To not break things, we should look for frame-number argument first on Draw, if not present, look for it on DoDraw.
See: https://github.com/flutter/engine/pull/32283/files#r835912146 for more details.
cc: @kenzieschmoll