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/1308977Reviewed-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}
Showing
Please register or sign in to comment