commit | d975a12b004a2cc6447281b9eaa576803bf978ad | [log] [tgz] |
---|---|---|
author | dljames <dljames@chromium.org> | Thu Oct 03 21:10:35 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 03 21:10:35 2024 |
tree | 93535e664f2a1e3bd8880e85426f53e8c85839d6 | |
parent | b412b3667604dc9a71f4b73bc4143787153ff57e [diff] |
[SavedTabGroup] Reset Drag Data when OnDragExited is called Call reset() for drag_data_ instead of release(). Release does not delete the object for us but we have been saved since drag_data_ is a unique_ptr and helps manage its own lifetime for us when SavedTabGroupBar is destroyed. This is mostly a stylistic / correctness change. No behavioral changes. Change-Id: I27b7bdceb8df2b9ca573c4595a5ef69de0371eee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5908301 Reviewed-by: Steven Luong <stluong@chromium.org> Commit-Queue: Darryl James <dljames@chromium.org> Reviewed-by: Eshwar Stalin <estalin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1363857}
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.