| Index: content/gpu/gpu_main.cc
|
| diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
|
| index 8606afe82cfcceec27584151bfc436b8bab76956..782063850427efdd0cf34c0f7fec0c98d5e2e4ef 100644
|
| --- a/content/gpu/gpu_main.cc
|
| +++ b/content/gpu/gpu_main.cc
|
| @@ -540,6 +540,13 @@
|
| // content.
|
| sandbox::TargetServices* target_services = sandbox_info->target_services;
|
| if (target_services) {
|
| +#if defined(ADDRESS_SANITIZER)
|
| + // Bind and leak dbghelp.dll before the token is lowered, otherwise
|
| + // AddressSanitizer will crash when trying to symbolize a report.
|
| + if (!LoadLibraryA("dbghelp.dll"))
|
| + return false;
|
| +#endif
|
| +
|
| target_services->LowerToken();
|
| return true;
|
| }
|
|
|