| Index: Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp b/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| index c17419a5c0cf4ca35e594bd4468ce5baf0da1e1b..f2e083b40956f0781d44165ffb869a6ecdcc780c 100644
|
| --- a/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| +++ b/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
| @@ -22,6 +22,7 @@
|
| #include "V8TestOverloadedConstructors.h"
|
|
|
| #include "RuntimeEnabledFeatures.h"
|
| +#include "V8ArrayBuffer.h"
|
| #include "V8ArrayBufferView.h"
|
| #include "V8Blob.h"
|
| #include "bindings/v8/ScriptController.h"
|
| @@ -29,7 +30,6 @@
|
| #include "bindings/v8/V8DOMConfiguration.h"
|
| #include "bindings/v8/V8DOMWrapper.h"
|
| #include "bindings/v8/V8ObjectConstructor.h"
|
| -#include "bindings/v8/custom/V8ArrayBufferCustom.h"
|
| #include "core/dom/ContextFeatures.h"
|
| #include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| @@ -67,7 +67,7 @@ template <typename T> void V8_USE(T) { }
|
|
|
| static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| - V8TRYCATCH_VOID(ArrayBuffer*, arrayBuffer, args[0]->IsArrayBuffer() ? V8ArrayBuffer::toNative(v8::Handle<v8::ArrayBuffer>::Cast(args[0])) : 0);
|
| + V8TRYCATCH_VOID(ArrayBuffer*, arrayBuffer, V8ArrayBuffer::HasInstance(args[0], args.GetIsolate(), worldType(args.GetIsolate())) ? V8ArrayBuffer::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0);
|
|
|
| RefPtr<TestOverloadedConstructors> impl = TestOverloadedConstructors::create(arrayBuffer);
|
| v8::Handle<v8::Object> wrapper = args.Holder();
|
|
|