diff options
Diffstat (limited to 'xpcom/threads')
-rw-r--r-- | xpcom/threads/ThreadStackHelper.cpp | 5 | ||||
-rw-r--r-- | xpcom/threads/moz.build | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/xpcom/threads/ThreadStackHelper.cpp b/xpcom/threads/ThreadStackHelper.cpp index d31bf6359..1713c9194 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 diff --git a/xpcom/threads/moz.build b/xpcom/threads/moz.build index 5d54a4bf4..53e6b5922 100644 --- a/xpcom/threads/moz.build +++ b/xpcom/threads/moz.build @@ -76,11 +76,9 @@ LOCAL_INCLUDES += [ # BHR disabled for Release builds because of bug 965392. # BHR disabled for debug builds because of bug 979069. -# BHR disabled on gonk because of bug 1180533 # BHR disabled for TSan builds because of bug 1121216. if CONFIG['MOZ_UPDATE_CHANNEL'] not in ('release') and \ not CONFIG['MOZ_DEBUG'] and \ - not CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and \ not CONFIG['MOZ_TSAN']: DEFINES['MOZ_ENABLE_BACKGROUND_HANG_MONITOR'] = 1 |