Remove MOZ_WIDGET_GONK [1/2]

Tag #288
This commit is contained in:
wolfbeast 2018-05-12 16:19:33 +02:00 committed by Roy Tam
commit b586913598
53 changed files with 60 additions and 750 deletions

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