-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Code Health] Remove uses of base::SupportsWeakPtr
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=takumif@chromium.org Bug: 647430 Change-Id: I7b11c725f9fda29a06c398f16fb831820dd4de5c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4984451 Commit-Queue: Takumi Fujimoto <takumif@chromium.org> Auto-Submit: David Bertoni <dbertoni@chromium.org> Reviewed-by: Takumi Fujimoto <takumif@chromium.org> Cr-Commit-Position: refs/heads/main@{#1216724}
- Loading branch information
David Bertoni
authored and
Chromium LUCI CQ
committed
Oct 30, 2023
1 parent
d7af739
commit 2afa527
Showing
2 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters