commit | 33e2e2c10eb65271ef13a22f73acd6498248420a | [log] [tgz] |
---|---|---|
author | Alexander Timin <[email protected]> | Thu Mar 03 04:21:33 2022 |
committer | Chromium LUCI CQ <[email protected]> | Thu Mar 03 04:21:33 2022 |
tree | b8f16b033b2ba3b6f54309bf16a9183bbf19cb2b | |
parent | 205fc0c99200f9bd75335bc185b82e5bf7bb7cd6 [diff] |
Make FrameTreeNode::WriteIntoTrace(TracedProto) const. The absence of const qualifier causes the overload selection logic in Perfetto to fail, as without it choice between WriteIntoTrace(TracedValue) const and WriteIntoTrace(TracedProto) becomes non-ambigious, as the first one requires const-cast and the latter requires calling an implicit constructor. When both are const-qualified, WriteIntoTrace(TracedValue) const becomes strictly better than WriteIntoTrace(TracedProto) const. This caused the failure and revert of r.android.com/1699768, which added implicit constructor to TracedProto. [email protected] BUG=1137154, b/184558843 Change-Id: Ib510897c72a11cbdd0c3465dd6adc2e185b0ef32 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3500621 Auto-Submit: Alexander Timin <[email protected]> Reviewed-by: Rakina Zata Amni <[email protected]> Commit-Queue: Rakina Zata Amni <[email protected]> Cr-Commit-Position: refs/heads/main@{#976954}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.