Commit 81c74621 authored by Arthur Edelstein's avatar Arthur Edelstein Committed by Georg Koppen
Browse files

Revert "Bug 19212: SIGSEGV with developer tools open"

This reverts commit 6fd5ac8e.
parent ba79cedd
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -6754,12 +6754,9 @@ JS::CaptureCurrentStack(JSContext* cx, JS::MutableHandleObject stackp,
{
    AssertHeapIsIdle(cx);
    CHECK_REQUEST(cx);
    //MOZ_RELEASE_ASSERT(cx->compartment());
    MOZ_RELEASE_ASSERT(cx->compartment());

    JSCompartment* compartment = cx->compartment();
    if (!compartment)
        return false;

    Rooted<SavedFrame*> frame(cx);
    if (!compartment->savedStacks().saveCurrentStack(cx, &frame, mozilla::Move(capture)))
        return false;