diff options
Diffstat (limited to 'xpcom/threads/ThreadStackHelper.cpp')
-rw-r--r-- | xpcom/threads/ThreadStackHelper.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xpcom/threads/ThreadStackHelper.cpp b/xpcom/threads/ThreadStackHelper.cpp index d31bf6359d..1713c9194d 100644 --- a/xpcom/threads/ThreadStackHelper.cpp +++ b/xpcom/threads/ThreadStackHelper.cpp @@ -359,11 +359,6 @@ ThreadStackHelper::PrepareStackBuffer(Stack& aStack) profiler_register_thread). However, on B2G, profiling secondary threads may be disabled despite profiler being enabled. This is by-design and is not an error. */ -#ifdef MOZ_WIDGET_GONK - if (!mPseudoStack) { - return false; - } -#endif MOZ_ASSERT(mPseudoStack); if (!aStack.reserve(mMaxStackSize) || !aStack.reserve(aStack.capacity()) || // reserve up to the capacity |