gecko/dom/workers/XMLHttpRequestEventTarget.cpp
Igor Bukanov 3a859b7a76 Bug 737365 - stop using the cx during finalization, part 1.
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00

21 lines
535 B
C++

/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "XMLHttpRequestEventTarget.h"
USING_WORKERS_NAMESPACE
void
XMLHttpRequestEventTarget::_Trace(JSTracer* aTrc)
{
EventTarget::_Trace(aTrc);
}
void
XMLHttpRequestEventTarget::_Finalize(JSFreeOp* aFop)
{
EventTarget::_Finalize(aFop);
}