-
Notifications
You must be signed in to change notification settings - Fork 895
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DanglingPtr] Fix
BrowserUserData
dangling pointer (#26462)
This patch was introduced during the switching on of the dangling pointers detector, as a temporary measure. The offending tests have been corrected to retrieve the `BrowserUserData` instance from the active `browser()`, rather than instantiating it as a `unique_ptr`. Resolve brave/brave-browser#42187
- Loading branch information
1 parent
db08fcf
commit 3506ef6
Showing
3 changed files
with
8 additions
and
33 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
This file was deleted.
Oops, something went wrong.