mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 818281 - Remove legacy XHR constructor. r=bz
This commit is contained in:
parent
a2d849874c
commit
bc1c6db35a
@ -1742,13 +1742,6 @@ NS_DEFINE_EVENT_CTOR(WheelEvent)
|
|||||||
#include "GeneratedEvents.h"
|
#include "GeneratedEvents.h"
|
||||||
#undef MOZ_GENERATED_EVENT_LIST
|
#undef MOZ_GENERATED_EVENT_LIST
|
||||||
|
|
||||||
static nsresult
|
|
||||||
NS_XMLHttpRequestCtor(nsISupports** aInstancePtrResult)
|
|
||||||
{
|
|
||||||
nsXMLHttpRequest* xhr = new nsXMLHttpRequest();
|
|
||||||
return CallQueryInterface(xhr, aInstancePtrResult);
|
|
||||||
}
|
|
||||||
|
|
||||||
struct nsConstructorFuncMapData
|
struct nsConstructorFuncMapData
|
||||||
{
|
{
|
||||||
int32_t mDOMClassInfoID;
|
int32_t mDOMClassInfoID;
|
||||||
@ -1779,7 +1772,6 @@ static const nsConstructorFuncMapData kConstructorFuncMap[] =
|
|||||||
#include "GeneratedEvents.h"
|
#include "GeneratedEvents.h"
|
||||||
#undef MOZ_GENERATED_EVENT_LIST
|
#undef MOZ_GENERATED_EVENT_LIST
|
||||||
NS_DEFINE_CONSTRUCTOR_FUNC_DATA(MozSmsFilter, sms::SmsFilter::NewSmsFilter)
|
NS_DEFINE_CONSTRUCTOR_FUNC_DATA(MozSmsFilter, sms::SmsFilter::NewSmsFilter)
|
||||||
NS_DEFINE_CONSTRUCTOR_FUNC_DATA(XMLHttpRequest, NS_XMLHttpRequestCtor)
|
|
||||||
NS_DEFINE_CONSTRUCTOR_FUNC_DATA(FileReader, FileReaderCtor)
|
NS_DEFINE_CONSTRUCTOR_FUNC_DATA(FileReader, FileReaderCtor)
|
||||||
NS_DEFINE_CONSTRUCTOR_FUNC_DATA(ArchiveReader, ArchiveReaderCtor)
|
NS_DEFINE_CONSTRUCTOR_FUNC_DATA(ArchiveReader, ArchiveReaderCtor)
|
||||||
NS_DEFINE_CONSTRUCTOR_FUNC_DATA(FormData, FormDataCtor)
|
NS_DEFINE_CONSTRUCTOR_FUNC_DATA(FormData, FormDataCtor)
|
||||||
|
Loading…
Reference in New Issue
Block a user