• Miguel Casas's avatar
    media/gpu/test: more s/LOG_ASSERT/ADD_FAILURE/ · c8ebeb6f
    Miguel Casas authored
    This CL continues substituting LOG_ASSERT()s to avoid crashing
    the test binary in Tast test runs. This last patch in the list
    intervenes image_processor-client.cc, by adding a local macro
    ASSERT_TRUE_OR_RETURN_NULLPTR.
    
    This CL also takes the chance to rename ASSERT_TRUE_AND_RETURN
    to ASSERT_TRUE_OR_RETURN in video_frame_helpers.cc, since that
    name makes more sense (it was introduced in this series of
    patches in crrev.com/c/1900559).
    
    Bug: 1020776
    Change-Id: I7f2a9c19d3eba474e8f7551854b3ec6ebd0fc943
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1907130
    Auto-Submit: Miguel Casas <mcasas@chromium.org>
    Reviewed-by: default avatarDavid Staessens <dstaessens@chromium.org>
    Commit-Queue: Miguel Casas <mcasas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#714234}
    c8ebeb6f
video_frame_helpers.cc 16.6 KB