зеркало из https://github.com/mozilla/gecko-dev.git
No bug. Fix compilation failure. a=CLOSED TREE
--HG-- extra : amend_source : 945ed7cd38c5b7e3bd6f9081966840d9296d8412
This commit is contained in:
Родитель
f320639a55
Коммит
898aa04e50
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include "js/UniquePtr.h"
|
||||
#include "threading/LockGuard.h"
|
||||
#include "threading/Thread.h"
|
||||
#include "vm/TraceLogging.h"
|
||||
|
||||
#ifndef DEFAULT_TRACE_LOG_DIR
|
||||
|
@ -156,7 +157,7 @@ TraceLoggerGraphState::nextLoggerId()
|
|||
|
||||
if (written > 0) {
|
||||
char threadName[16];
|
||||
ThisThread::GetName(threadName, sizeof(threadName));
|
||||
js::ThisThread::GetName(threadName, sizeof(threadName));
|
||||
if (threadName[0])
|
||||
written = fprintf(out, ", \"threadName\":\"%s\"", threadName);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче