• Khushal's avatar
    viz: Always initialize filter params for child resources. · ff623fc4
    Khushal authored
    Instead of assuming that the child initializes the filter on the
    received resource to a known state, always initialize it before using.
    If the client sends the resource with the specified |filter| on
    TransferableResource, then it is returned with the same state. If the
    client sends it in any other state, then it should assume that it
    is returned in an unknown state.
    
    R=sunnyps@chromium.org
    
    Change-Id: Idd2cc884d27c053edd2ac48078faf324914cc8b0
    Bug: 1018898
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1888951
    Commit-Queue: Khushal <khushalsagar@chromium.org>
    Auto-Submit: Khushal <khushalsagar@chromium.org>
    Reviewed-by: default avatarSunny Sachanandani <sunnyps@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#713317}
    ff623fc4
gl_renderer_unittest.cc 173 KB