mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 777806 - rename RootResultArrayBuffer to RootJSResultObjects. r=bz
This commit is contained in:
parent
1d8d82865d
commit
0385c11354
@ -480,7 +480,7 @@ nsXMLHttpRequest::~nsXMLHttpRequest()
|
||||
}
|
||||
|
||||
void
|
||||
nsXMLHttpRequest::RootResultArrayBuffer()
|
||||
nsXMLHttpRequest::RootJSResultObjects()
|
||||
{
|
||||
nsContentUtils::PreserveWrapper(
|
||||
static_cast<nsIDOMEventTarget*>(
|
||||
@ -977,7 +977,7 @@ nsXMLHttpRequest::CreateResponseParsedJSON(JSContext* aCx)
|
||||
if (!aCx) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
RootResultArrayBuffer();
|
||||
RootJSResultObjects();
|
||||
|
||||
// The Unicode converter has already zapped the BOM if there was one
|
||||
if (!JS_ParseJSON(aCx,
|
||||
@ -1200,7 +1200,7 @@ nsXMLHttpRequest::GetResponse(JSContext* aCx, ErrorResult& aRv)
|
||||
}
|
||||
|
||||
if (!mResultArrayBuffer) {
|
||||
RootResultArrayBuffer();
|
||||
RootJSResultObjects();
|
||||
aRv = nsContentUtils::CreateArrayBuffer(aCx, mResponseBody,
|
||||
&mResultArrayBuffer);
|
||||
if (aRv.Failed()) {
|
||||
|
@ -492,7 +492,7 @@ public:
|
||||
NS_DECL_CYCLE_COLLECTION_SKIPPABLE_SCRIPT_HOLDER_CLASS_INHERITED(nsXMLHttpRequest,
|
||||
nsXHREventTarget)
|
||||
bool AllowUploadProgress();
|
||||
void RootResultArrayBuffer();
|
||||
void RootJSResultObjects();
|
||||
|
||||
virtual void DisconnectFromOwner();
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user