Index: Source/bindings/tests/results/V8TestObject.cpp |
diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp |
index 91c3e5282b052f859470a409bc20596508026be1..ab90569c21ec9dc02938b9f2313cc2cdb84bc690 100644 |
--- a/Source/bindings/tests/results/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/V8TestObject.cpp |
@@ -25,7 +25,6 @@ |
#include "RuntimeEnabledFeatures.h" |
#include "V8DOMStringList.h" |
#include "V8Document.h" |
-#include "V8Float32Array.h" |
#include "V8MessagePort.h" |
#include "V8Node.h" |
#include "V8SVGDocument.h" |
@@ -51,6 +50,7 @@ |
#include "bindings/v8/V8EventListenerList.h" |
#include "bindings/v8/V8HiddenPropertyName.h" |
#include "bindings/v8/V8ObjectConstructor.h" |
+#include "bindings/v8/custom/V8Float32ArrayCustom.h" |
#include "core/dom/ContextFeatures.h" |
#include "core/dom/CustomElementCallbackDispatcher.h" |
#include "core/dom/Document.h" |
@@ -876,7 +876,7 @@ static void typedArrayAttrAttrGetterCallback(v8::Local<v8::String> name, const v |
static void typedArrayAttrAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
{ |
TestObj* imp = V8TestObject::toNative(info.Holder()); |
- V8TRYCATCH_VOID(Float32Array*, v, V8Float32Array::HasInstance(value, info.GetIsolate(), worldType(info.GetIsolate())) ? V8Float32Array::toNative(v8::Handle<v8::Object>::Cast(value)) : 0); |
+ V8TRYCATCH_VOID(Float32Array*, v, value->IsFloat32Array() ? V8Float32Array::toNative(v8::Handle<v8::Float32Array>::Cast(value)) : 0); |
imp->setTypedArrayAttr(WTF::getPtr(v)); |
return; |
} |