commit | 11b09b645c2bb1e5801b9189e9647e42b84b7018 | [log] [tgz] |
---|---|---|
author | David Bertoni <dbertoni@chromium.org> | Sat Nov 04 11:44:22 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Nov 04 11:44:22 2023 |
tree | bfbad379807bf4fe54401632d34950a646913b9c | |
parent | 3422e5710e1a85f2e5c2c64bb2a78ad78db8a718 [diff] |
[Code Health] Remove uses of base::SupportsWeakPtr (/content/browser/webui) This CL removes uses of this deprecated base class by adding a base::WeakPtrFactory data member. In some cases, the base class was no longer being used, so it's simply removed. In some cases, it was being used as the base class for a supposed interface class. In those cases, a pure virtual member function was added so that implementation classes can have a WeakPtrFactory data member and dispense appropriate WeakPtr instances. This CL was uploaded by git cl split. R=antrim@chromium.org Bug: 647430 Change-Id: I1dee9cba47e2bf299562c139dbd625b92fb9a9b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5005473 Commit-Queue: Denis Kuznetsov <antrim@chromium.org> Auto-Submit: David Bertoni <dbertoni@chromium.org> Reviewed-by: Denis Kuznetsov <antrim@chromium.org> Cr-Commit-Position: refs/heads/main@{#1219903}
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.