Bug 1195755: Don't assert recursion depth sanity on Mac, because there is none. r=me

This commit is contained in:
Kyle Huey 2015-08-21 19:56:56 -07:00
parent 7a4de50887
commit 03a90c2b97

View File

@ -1138,7 +1138,9 @@ CycleCollectedJSRuntime::RunInMetastableState(already_AddRefed<nsIRunnable>&& aR
data.mRecursionDepth = RecursionDepth();
// There must be an event running to get here.
#ifndef MOZ_WIDGET_COCOA
MOZ_ASSERT(data.mRecursionDepth > mBaseRecursionDepth);
#endif
mMetastableStateEvents.AppendElement(Move(data));
}