commit | 1f38adde7975ca71542addb06bc8b645f671fa38 | [log] [tgz] |
---|---|---|
author | Xi Han <hanxi@google.com> | Fri Nov 02 20:20:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 02 20:20:40 2018 |
tree | b068f470161a9fb997fad024a8a99fa53af7a92d | |
parent | ea50c8023c93be84d04978a473c31d0cd257301c [diff] |
Remove BrowserThread::UI check form GetNetworkServiceFromConnector(). GetNetworkServiceFromConnector() may be called in the early startup before the full browser starts. Therefore, it can't use DCHECK_CURRENTLY_ON(content::BrowserThread::UI) to check whether it is called on the same thread. Instead, we check whether the connector is accessed on the valid sequence to replace this DCHECK. Bug: 729596 Change-Id: I97e2b0cae7a4a7e0dded919b9b120f60eb18fea6 Reviewed-on: https://chromium-review.googlesource.com/c/1308977 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Commit-Queue: Xi Han <hanxi@chromium.org> Cr-Commit-Position: refs/heads/master@{#605036}
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 .