Skip to content

Commit

Permalink
DanglingPtr: triage dangling ptrs
Browse files Browse the repository at this point in the history
Bug: 1291138
Change-Id: I65e21d0660ad63fc79f38477102a3118a8bf5752
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3779480
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Paul Semel <paulsemel@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1026843}
  • Loading branch information
Paul Semel authored and Chromium LUCI CQ committed Jul 21, 2022
1 parent 58f0d59 commit e5c8b16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage/browser/file_system/recursive_operation_delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class COMPONENT_EXPORT(STORAGE_BROWSER) RecursiveOperationDelegate
// Called when all recursive operation is done (or an error occurs).
void Done(base::File::Error error);

raw_ptr<FileSystemContext> file_system_context_;
raw_ptr<FileSystemContext, DanglingUntriaged> file_system_context_;
StatusCallback callback_;
base::stack<FileSystemURL> pending_directories_;
base::stack<base::queue<FileSystemURL>> pending_directory_stack_;
Expand Down
2 changes: 1 addition & 1 deletion ui/events/platform/x11/x11_event_watcher_glib.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class X11EventWatcherGlib : public X11EventWatcher {
raw_ptr<X11EventSource> event_source_;

// The GLib event source for X events.
raw_ptr<GSource> x_source_ = nullptr;
raw_ptr<GSource, DanglingUntriaged> x_source_ = nullptr;

// The poll attached to |x_source_|.
std::unique_ptr<GPollFD> x_poll_;
Expand Down

0 comments on commit e5c8b16

Please sign in to comment.