• Bence Béky's avatar
    Change HttpNetworkSession::websocket_endpoint_lock_manager_ type. · 33a4e43a
    Bence Béky authored
    Change type of HttpNetworkSession::websocket_endpoint_lock_manager_ from
    unique_ptr<WebSocketEndpointLockManager> to
    WebSocketEndpointLockManager.  This member object is constructed upon
    HttpNetworkSession construction and is never explicitly destroyed (only
    implicitly when the unique_ptr goes out of scope upon HttpNetworkSession
    destruction).  The same lifetime can be achieved with a
    WebSocketEndpointLockManager member.
    
    It is possible though not particularily likely that this will solve
    https://crbug.com/908734, but since the cause of that crash is not
    known, it is worth trying.  This CL is an improvement regardless.
    
    Bug: 908734
    Change-Id: Iddd2117dc5256e06672ae2964ad7cfebefe76fe0
    Reviewed-on: https://chromium-review.googlesource.com/c/1356862Reviewed-by: default avatarAdam Rice <ricea@chromium.org>
    Commit-Queue: Bence Béky <bnc@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#613110}
    33a4e43a
http_network_session.h 16.2 KB