| Index: Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp b/Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp
|
| similarity index 98%
|
| rename from Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| rename to Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp
|
| index 8659b65bcff502b011ae435f29691951f41aa339..c673306665ebcefae1df874fe70b1e349d632d78 100644
|
| --- a/Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp
|
| @@ -36,11 +36,11 @@
|
| #include "bindings/core/v8/V8FormData.h"
|
| #include "bindings/core/v8/V8HTMLDocument.h"
|
| #include "bindings/core/v8/V8Stream.h"
|
| +#include "bindings/core/v8/custom/V8ArrayBufferCustom.h"
|
| +#include "bindings/core/v8/custom/V8ArrayBufferViewCustom.h"
|
| #include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/V8Binding.h"
|
| -#include "bindings/v8/custom/V8ArrayBufferCustom.h"
|
| -#include "bindings/v8/custom/V8ArrayBufferViewCustom.h"
|
| #include "core/dom/Document.h"
|
| #include "core/fileapi/Stream.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| @@ -208,9 +208,9 @@ void V8XMLHttpRequest::sendMethodCustom(const v8::FunctionCallbackInfo<v8::Value
|
| InspectorInstrumentation::willSendXMLHttpRequest(xmlHttpRequest->executionContext(), xmlHttpRequest->url());
|
|
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "send", "XMLHttpRequest", info.Holder(), info.GetIsolate());
|
| - if (info.Length() < 1)
|
| + if (info.Length() < 1) {
|
| xmlHttpRequest->send(exceptionState);
|
| - else {
|
| + } else {
|
| v8::Handle<v8::Value> arg = info[0];
|
| if (isUndefinedOrNull(arg)) {
|
| xmlHttpRequest->send(exceptionState);
|
|
|