• Noel Gordon's avatar
    [filesapp] Address TODO: use renderOrientation_ for RAW images · 380f2475
    Noel Gordon authored
    Use the this.renderOrientation_ feature for better cache keying of RAW
    image thumbnails from piexwasm. The client's this.request_.orientation
    forms part of the image loader cache key: we should leave it alone and
    using this.renderOrientation_ allows us to do that.
    
    To be clear, further testing of RAW images that have EXIF orientation,
    has shown that they are _not_ affected by issue 1152084.
    
    Bug: 1152084
    Change-Id: I7665985df51ddecdb4bb5bebf2437f910d82330b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2569317
    Commit-Queue: Alex Danilo <adanilo@chromium.org>
    Auto-Submit: Noel Gordon <noel@chromium.org>
    Reviewed-by: default avatarAlex Danilo <adanilo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#833051}
    380f2475
image_request_task.js 20 KB