Change HttpNetworkSession::websocket_endpoint_lock_manager_ type.
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:Adam Rice <ricea@chromium.org> Commit-Queue: Bence Béky <bnc@chromium.org> Cr-Commit-Position: refs/heads/master@{#613110}
Showing
Please register or sign in to comment