• hshi's avatar
    Shadows: crop corner tiles instead of hiding. · d89c83ac
    hshi authored
    When the shadow layer bounds is smaller than the full shadow image size,
    we should crop the corner tiles by reducing aperture values instead of making
    the shadow layer invisible.
    
    This allows shadow to draw correctly when window size is very small.
    
    BUG=415514
    TEST=visually verify that window shadows are drawn correctly with very small windows.
    
    Review URL: https://codereview.chromium.org/581273002
    
    Cr-Commit-Position: refs/heads/master@{#295728}
    d89c83ac
wm.gyp 5.33 KB