mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
83623b313c
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.
21 lines
535 B
C++
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);
|
|
}
|