• Ojan Vafai's avatar
    Fix border painting on self-painting layers. · 09ffab72
    Ojan Vafai authored
    Commit efc3afd428bd85fd3d12e0dc941b5eb7248ca30b broke it because
    we'd computed an empty foreground layer. Now that background
    painting is part of the foreground phase, we need to use the
    background rect for clipping. As best I can tell, the
    background rect is always >= the size of the foreground
    rect, so it should be safe to use.
    
    R=abarth@chromium.org
    
    Review URL: https://codereview.chromium.org/876243002
    09ffab72
app-toast.sky 852 Bytes