 Chromium Code Reviews
 Chromium Code Reviews Issue 2909623002:
  Change DumpProcessWithoutCrash to use load-time dynamic linking  (Closed)
    
  
    Issue 2909623002:
  Change DumpProcessWithoutCrash to use load-time dynamic linking  (Closed) 
  | Index: base/debug/dump_without_crashing.cc | 
| diff --git a/base/debug/dump_without_crashing.cc b/base/debug/dump_without_crashing.cc | 
| index 4b338ca2930b69d110fd545176029aec75f9cd4a..c9ab4558056eda0e8a95d595e2f15cb2e4d5c355 100644 | 
| --- a/base/debug/dump_without_crashing.cc | 
| +++ b/base/debug/dump_without_crashing.cc | 
| @@ -27,6 +27,7 @@ bool DumpWithoutCrashing() { | 
| } | 
| void SetDumpWithoutCrashingFunction(void (CDECL *function)()) { | 
| + DCHECK(!dump_without_crashing_function_); | 
| 
Will Harris
2017/06/26 12:26:20
this actually broke in component builds because th
 | 
| dump_without_crashing_function_ = function; | 
| } |