commit | 33c186136296390ff411860094eb83e4dccca4f4 | [log] [tgz] |
---|---|---|
author | Hiroki Nakagawa <nhiroki@chromium.org> | Fri Mar 30 00:06:52 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 30 00:06:52 2018 |
tree | 913a330f73329dc71e0f7fadaa42c4f8ee80f7ae | |
parent | 64bfcc8887a9799f7e5f0b81a9f3fbc1fdd7e4f2 [diff] |
WebSocket: Reduce dependencies on Document (2) As a preparation for enabling to establish WebSocket connections off the main thread, this CL reduces dependencies on Document in DocumentWebSocketChannel for making it thread-safe. Specifically, this replaces GetDocument() calls for the traces and the inspector with GetExecutionContext(). Bug: 825740 Change-Id: If2f4afd30c30453388de5e4e50ec7169025e8b4b Reviewed-on: https://chromium-review.googlesource.com/984754 Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#547033}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .