Remove MOZ_WIDGET_GONK [1/2]

Tag #288
This commit is contained in:
wolfbeast
2018-05-12 16:19:33 +02:00
parent 2f359ed80c
commit 6571d2ceb4
53 changed files with 60 additions and 750 deletions
-5
View File
@@ -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