Bug 818281 - Remove legacy XHR constructor. r=bz

This commit is contained in:
Masatoshi Kimura 2012-12-10 09:04:30 -05:00
parent a2d849874c
commit bc1c6db35a

View File

@ -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)