commit | ef5872a5a8f2594284b98373de732b5d4abc5037 | [log] [tgz] |
---|---|---|
author | Xi Han <hanxi@google.com> | Wed Oct 31 22:09:38 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 31 22:09:38 2018 |
tree | ccbd613ddbc3638d9e8d55d61059204bd51f5f3f | |
parent | 7f56fd366f016b299b0986b320803b9711848ef3 [diff] |
Use sequence checker in chrome_mojo_proxy_resolver_factory. The ChromeMojoProxyResolverFactory may be created in early startup when the ui thread hasn't be promoted to BrowserThread::UI. Therefore, it can't use DCHECK_CURRENTLY_ON(content::BrowserThread::UI) to check whether it is accessed on the same thread. Instead, we could use SequenceCheck for the check and make sure it is accessed sequentially. Bug: 729596 Change-Id: Id31e53e1ec369b029a843656cf86fc605d768a43 Reviewed-on: https://chromium-review.googlesource.com/c/1308667 Reviewed-by: Matt Menke <mmenke@chromium.org> Commit-Queue: Xi Han <hanxi@chromium.org> Cr-Commit-Position: refs/heads/master@{#604404}
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 .