-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[DanglingPtr] Remove patching for
AutocompleteMatch
(#26606)"
This reverts commit b894151.
- Loading branch information
Showing
4 changed files
with
23 additions
and
30 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
20 changes: 0 additions & 20 deletions
20
chromium_src/chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc
This file was deleted.
Oops, something went wrong.
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
13 changes: 13 additions & 0 deletions
13
patches/components-omnibox-browser-autocomplete_match.h.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/components/omnibox/browser/autocomplete_match.h b/components/omnibox/browser/autocomplete_match.h | ||
index 804afdcf39427df21c501b3d20ccf455886a2876..97b0cb227db751c359eaf0e1abcbaefd078c4b19 100644 | ||
--- a/components/omnibox/browser/autocomplete_match.h | ||
+++ b/components/omnibox/browser/autocomplete_match.h | ||
@@ -717,7 +717,7 @@ struct AutocompleteMatch { | ||
// The provider of this match, used to remember which provider the user had | ||
// selected when the input changes. This may be NULL, in which case there is | ||
// no provider (or memory of the user's selection). | ||
- raw_ptr<AutocompleteProvider> provider = nullptr; | ||
+ raw_ptr<AutocompleteProvider, DanglingUntriaged> provider = nullptr; | ||
|
||
// The relevance of this match. See table in autocomplete_provider.h for | ||
// scores returned by various providers. This is used to rank matches among |