commit | fdf31b15b26b88c15ae67a3d531508868a393518 | [log] [tgz] |
---|---|---|
author | Dan Harrington <harringtond@chromium.org> | Mon Jul 30 20:43:57 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 30 20:43:57 2018 |
tree | cada8b9f0e4e0cfb65240f81b361c247ddc1bf3b | |
parent | 68f625b320b66b74693c65cbf59c9e157df84afa [diff] |
More safely cast to Profile The motivation here is that I hit this invalid cast in a test, and it resulted in an empty callstack which was painful to debug. Profile::FromBrowserContext DCHECKs in a more friendly way. Change-Id: I5e1f423c66abbdce0604a6cfdbf8d4c988dde2af Reviewed-on: https://chromium-review.googlesource.com/1155259 Reviewed-by: Bernhard Bauer <bauerb@chromium.org> Commit-Queue: Dan H <harringtond@chromium.org> Cr-Commit-Position: refs/heads/master@{#579160}
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 .