• Ricardo Quesada's avatar
    viz: Update damage_rect when candidate doesn't get promoted · 2f074de1
    Ricardo Quesada authored
    Update Underlay candidates' damage_rect even if they don't get promoted
    to overlays. At the moment they do have the damage_rect updated when
    they get promoted. But not otherwise. There is corner case when the
    damage_rect is must be updated redarless whether the candidate gets
    promoted.
    
    This CL fixes that.
    And also fixes some "git cl lint" warnings (missing #include <vector>)
    
    BUG=b:116355420
    BUG=b:117341940
    TEST=viz_unittests --gtest_filter=UnderlayTest*
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel
    Change-Id: Ic543d844c09f47c845cfe0103f0462f5f67a9dbc
    Reviewed-on: https://chromium-review.googlesource.com/c/1286275
    Commit-Queue: Ricardo Quesada <ricardoq@chromium.org>
    Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#602387}
    2f074de1
overlay_unittest.cc 148 KB