• kylechar's avatar
    Use OzonePlatform::InitParams everywhere. · d0cd2b3c
    kylechar authored
    Remove the deprecated function that uses default InitParams. Add the
    params in the remaining callsites and set |single_process| correctly for
    tests. video_decode_accelerator_unittest.cc sets |single_process| to
    false, as the test runs with Ozone DRM on CrOS devices.
    
    Bug: 620934, 700142
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    Change-Id: Iaac92d25eba7c9e052c250e84fdef2f46ecea7ee
    Reviewed-on: https://chromium-review.googlesource.com/667720
    Commit-Queue: kylechar <kylechar@chromium.org>
    Reviewed-by: default avatarRobert Kroeger <rjkroege@chromium.org>
    Reviewed-by: default avatarDan Sanders <sandersd@chromium.org>
    Reviewed-by: default avatardanakj <danakj@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#502731}
    d0cd2b3c
ozone_platform.cc 2.55 KB