This change allows us to remove one static_cast from tests that was problematic for another refactoring. Bug: webrtc:13931 Change-Id: I8e1b5cecadd806b266b6c115b56b18b9613cbe82 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/306500 Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40144}