| Index: content/ppapi_plugin/ppapi_thread.cc
|
| diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
|
| index 6d77afe546f494f9e220b5480421833016773bb3..a6181790cb1469bcf837ffefb83103b1223d4bd7 100644
|
| --- a/content/ppapi_plugin/ppapi_thread.cc
|
| +++ b/content/ppapi_plugin/ppapi_thread.cc
|
| @@ -417,6 +417,12 @@ void PpapiThread::OnLoadPlugin(const base::FilePath& path,
|
|
|
| WarmupWindowsLocales(permissions);
|
|
|
| +#if defined(ADDRESS_SANITIZER)
|
| + // Bind and leak dbghelp.dll before the token is lowered, otherwise
|
| + // AddressSanitizer will crash when trying to symbolize a report.
|
| + LoadLibraryA("dbghelp.dll");
|
| +#endif
|
| +
|
| g_target_services->LowerToken();
|
| }
|
| #endif
|
|
|