| Index: net/url_request/url_request_context_getter.cc
|
| diff --git a/net/url_request/url_request_context_getter.cc b/net/url_request/url_request_context_getter.cc
|
| index 34d77809be53864ae8c7854994810b83f687d700..1808617521439b9577c6cf5cd74f7708dc3b90d5 100644
|
| --- a/net/url_request/url_request_context_getter.cc
|
| +++ b/net/url_request/url_request_context_getter.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "net/url_request/url_request_context_getter.h"
|
|
|
| +#include "base/debug/leak_annotations.h"
|
| #include "base/location.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "net/url_request/url_request_context.h"
|
| @@ -41,6 +42,8 @@ void URLRequestContextGetter::OnDestruct() const {
|
| // aid in debugging.
|
| DLOG(WARNING) << "URLRequestContextGetter leaking due to no owning"
|
| << " thread.";
|
| + // Let LSan know we know this is a leak. https://crbug.com/594130
|
| + ANNOTATE_LEAKING_OBJECT_PTR(this);
|
| }
|
| }
|
| }
|
|
|