DanglingPointer: annotate for unittests base+linux [2/N]
Those are the leaked raw_ptr's. We detected those raw_ptr's as being never released, and thus as being potential candidates to increase pressure on the BRP memory quarantine. Bug: 1400059 Change-Id: Id1f4799c1b3b4a3709b1ce19165c2fbb97313d67 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4570897 Owners-Override: Arthur Sonzogni <arthursonzogni@chromium.org> Commit-Queue: Paul Semel <paulsemel@chromium.org> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/main@{#1153261}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
2a45690cdc
commit
d3c00ef3dd
base/metrics
chrome/browser/ui/views
components/web_resource
content/browser/renderer_host
gin
media/mojo
net/reporting
pdf/pdfium
services/network/public/cpp/server
ui
events
platform
views
controls
webview
@ -31,7 +31,7 @@ class FileAvail : public FX_FILEAVAIL {
|
||||
return file_avail->doc_loader_->IsDataAvailable(offset, size);
|
||||
}
|
||||
|
||||
raw_ptr<DocumentLoader> doc_loader_;
|
||||
raw_ptr<DocumentLoader, LeakedDanglingUntriaged> doc_loader_;
|
||||
};
|
||||
|
||||
class DownloadHints : public FX_DOWNLOADHINTS {
|
||||
@ -51,7 +51,7 @@ class DownloadHints : public FX_DOWNLOADHINTS {
|
||||
return download_hints->doc_loader_->RequestData(offset, size);
|
||||
}
|
||||
|
||||
raw_ptr<DocumentLoader> doc_loader_;
|
||||
raw_ptr<DocumentLoader, LeakedDanglingUntriaged> doc_loader_;
|
||||
};
|
||||
|
||||
class FileAccess : public FPDF_FILEACCESS {
|
||||
@ -73,7 +73,7 @@ class FileAccess : public FPDF_FILEACCESS {
|
||||
return file_access->doc_loader_->GetBlock(position, size, buffer);
|
||||
}
|
||||
|
||||
raw_ptr<DocumentLoader> doc_loader_;
|
||||
raw_ptr<DocumentLoader, LeakedDanglingUntriaged> doc_loader_;
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user