• Stepan Khapugin's avatar
    [multiball] Opening new window should not restore last session. · 131342bd
    Stepan Khapugin authored
    Assigns IDs semi-randomly to created scenes and restores the session
    from a given session ID into a scene.
    This fixes a bug where opening a new window would restore the previous
    session from the first window.
    However, a permanent solution here would be to actually implement
    session restoration that is not based on non-persistent integer
    window IDs.
    
    Bug: 1069747
    Change-Id: I4a5352d56f4a7d506ff618944b9868c688a5b612
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144274
    Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
    Commit-Queue: Mark Cogan <marq@chromium.org>
    Auto-Submit: Stepan Khapugin <stkhapugin@chromium.org>
    Reviewed-by: default avatarMark Cogan <marq@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#758205}
    131342bd
scene_controller.mm 70.2 KB