media/gpu/test: remove s'more LOG_ASSERTs
This CL continues crrev.com/c/1897358 by substituting LOG_ASSERT()s in test code with ASSERT_TRUE()s, avoiding crashing the test binary. m/g/t/video_frame_validator.cc is an easy one-to-one substitution, whereas video_frame_helpers.cc need to add a macro to return an invalid value when the predicate doesn't hold up. Bug: 1020776 Change-Id: I8e0671dce792b479c91c722c652bd387f4cd5faa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1900559Reviewed-by:Andres Calderon Jaramillo <andrescj@chromium.org> Reviewed-by:
David Staessens <dstaessens@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#713268}
Showing
Please register or sign in to comment