Adjust Google3 stack-trace dumping to match recent refactor
Cq-Include-Trybots: luci.skia.skia.primary:Canary-G3 Change-Id: Iebd4aaec098b6bf2e863d0c93d7fd826d3ec0edc Reviewed-on: https://skia-review.googlesource.com/c/skia/+/512724 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
6c370c9d82
commit
c6e373d47d
@ -263,8 +263,10 @@
|
||||
|
||||
#if defined(SK_BUILD_FOR_GOOGLE3)
|
||||
void SkDebugfForDumpStackTrace(const char* data, void* unused);
|
||||
namespace base {
|
||||
void DumpStackTrace(int skip_count, void w(const char*, void*), void* arg);
|
||||
# define SK_DUMP_GOOGLE3_STACK() DumpStackTrace(0, SkDebugfForDumpStackTrace, nullptr)
|
||||
}
|
||||
# define SK_DUMP_GOOGLE3_STACK() ::base::DumpStackTrace(0, SkDebugfForDumpStackTrace, nullptr)
|
||||
#else
|
||||
# define SK_DUMP_GOOGLE3_STACK()
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user