• danakj's avatar
    Don't change compositor visibility when RenderWidget is frozen. · 57f139f6
    danakj authored
    A frozen RenderWidget must still be made visible when the RenderView
    is made visible (background tab becoming foreground) because RenderView
    reads the RenderWidget to determine the Page visibility (even though we
    have IPCs to the RenderView telling it what to use~~!).
    
    This is bad but we can't leave us crashing in Canary so avoid chaning
    compositor visibility even though the RenderWidget is changing, and the
    compositor's will catch up when unfreezing.
    
    R=ajwong@chromium.org, piman@chromium.org
    
    Change-Id: Idbc81efacd331c227d01ad61e182ccdf98bf2c42
    Bug: 896836
    Reviewed-on: https://chromium-review.googlesource.com/c/1340864
    Commit-Queue: danakj <danakj@chromium.org>
    Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609389}
    57f139f6
render_widget.cc 124 KB