• David Edmundson's avatar
    Guard subsurface parent access. · 6dcf73ad
    David Edmundson authored
    Whilst a subsurface must have a parent at the time of creation, the
    lifespan is not guaranteed afterwards.
    
    It's a weird thing for a client to do, but we need to not crash
    afterwards.
    
    If the parent surface is destroyed we should consider the surface
    unmapped.
    
    BUG: 452044
    
    
    (cherry picked from commit 1d2424a5)
    6dcf73ad