mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-29 09:23:32 +08:00
If the thread is CPU_PROFILE type, the |entryToNode| should come from |Samples.entryToNode| Also updated the TreeManipulator a little bit for some small bug in "collapse": - Remove the |thread| in TreeManipulator since we don't need it - make a copy of the |root.children| Fixed: 1501030 Change-Id: Ie27061c730a569e4feab971868aac088c84de0bf Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5017696 Reviewed-by: Alina Varkki <alinavarkki@chromium.org> Commit-Queue: Nancy Li <nancyly@chromium.org>