• Chris Blume's avatar
    viz/service & viz/test to use default LSI · 932d1d0e
    Chris Blume authored
    Previously, ParentLocalSurfaceIdAllocator would default to an invalid
    LocalSurfaceId. A new LSI had to be explicitly allocated before the
    normal behavior could use it.
    
    With ParentLocalSurfaceIdAllocator now default initializing a valid LSI,
    the various call sites no longer need to explicitly check for the
    uninitialized state.
    
    viz/service & viz/test contain some of those call sites.
    
    BUG=837030
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel
    Change-Id: Iace37fb0be4c6389fdf2c89dbd4bb77c9696036f
    Reviewed-on: https://chromium-review.googlesource.com/1038124
    Commit-Queue: Fady Samuel <fsamuel@chromium.org>
    Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#555306}
    932d1d0e
surface_hittest_unittest.cc 23.2 KB