• danakj's avatar
    cc: Don't try set RenderPasses on active tree after losing context. · ce0d1804
    danakj authored
    DelegatedRendererLayerImpl passes the frame from the pending to the
    active tree, but relies on there being a child_id_ on the active
    layer that is known to the ResourceProvider. If the context was lost
    while the frame was in the pending tree, the frames resources are
    released, but we try to tell the resource provider to use the
    empty frame with an invalid child id.
    
    When the context is lost and we drop the frame, also unset the bool
    saying we have a frame to pass to the active tree.
    
    R=piman@chromium.org
    BUG=488366
    
    Review URL: https://codereview.chromium.org/1128043008
    
    Cr-Commit-Position: refs/heads/master@{#330256}
    ce0d1804
delegated_renderer_layer_impl.cc 20.1 KB