• Armando Miraglia's avatar
    Remove checks for params.IsValid in favour of DCHECK() checks. · 331f7ff4
    Armando Miraglia authored
    According to the TODOs left in the code and the state of crbug/803102,
    it is now safe to remove the params.IsValid() from some if-statements.
    This is so, when the paramters are passed through Mojo, which will
    already perform the checks.
    
    To guarantee that all is working correctly, the check is transfromed
    into a DCHECK.
    
    BUG=803102
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: I069a902141d8003f2bb9656f691b5bbbdb69c259
    Reviewed-on: https://chromium-review.googlesource.com/1181134Reviewed-by: default avatarMax Morin <maxmorin@chromium.org>
    Commit-Queue: Armando Miraglia <armax@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#584703}
    331f7ff4
audio_input_controller_unittest.cc 9.25 KB