Bug 995730 - Convert xpcom/threads/ to Gecko style. r=froydnj

This commit is contained in:
Birunthan Mohanathas
2014-05-27 10:15:35 +03:00
parent 23db9ee7d0
commit a108f37fc2
25 changed files with 1510 additions and 1175 deletions

View File

@@ -184,7 +184,8 @@ ThreadStackHelper::SigAction(int aSignal, siginfo_t* aInfo, void* aContext)
#endif // XP_LINUX
bool
ThreadStackHelper::PrepareStackBuffer(Stack& aStack) {
ThreadStackHelper::PrepareStackBuffer(Stack& aStack)
{
// Return false to skip getting the stack and return an empty stack
aStack.clear();
#ifdef MOZ_ENABLE_PROFILER_SPS
@@ -208,7 +209,8 @@ ThreadStackHelper::PrepareStackBuffer(Stack& aStack) {
}
void
ThreadStackHelper::FillStackBuffer() {
ThreadStackHelper::FillStackBuffer()
{
#ifdef MOZ_ENABLE_PROFILER_SPS
size_t reservedSize = mMaxStackSize;