commit | c2fecf47e6516b1ef160c13d164883b9de742bd7 | [log] [tgz] |
---|---|---|
author | Vaclav Brozek <[email protected]> | Fri Apr 06 16:40:16 2018 |
committer | Commit Bot <[email protected]> | Fri Apr 06 16:40:16 2018 |
tree | 01ddc28a3d539c464d96fed7a9eaa4b254a34c56 | |
parent | 6c0aed57e2e803aadf029450180782e0471b8baa [diff] |
Fix swapped messages in _CheckUniquePtr _CheckUniquePtr consistes of two checks -- one related to nullptr, one related to make_unique. The error messages are currently swapped by accident. This CL fixes that and adds a check for that. It also removes some confusing "java/src" subpaths from the mock file paths in the check. Those got in via copy&paste and are confusing, while not relevant for what the test is testing. Bug: 827961 Change-Id: Iaf3272cfc5fe0a641feaee861ad17fe71505800b Reviewed-on: https://chromium-review.googlesource.com/999604 Reviewed-by: Dirk Pranke <[email protected]> Commit-Queue: Vaclav Brozek <[email protected]> Cr-Commit-Position: refs/heads/master@{#548807}
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 .