Index: Source/bindings/tests/results/V8Float64Array.cpp |
diff --git a/Source/bindings/tests/results/V8Float64Array.cpp b/Source/bindings/tests/results/V8Float64Array.cpp |
index 0ad6d39cbacdd7acc681a658f8c45edcf06f1582..7fd709933daa6b4b53ce34c6f8ad0027eb554f86 100644 |
--- a/Source/bindings/tests/results/V8Float64Array.cpp |
+++ b/Source/bindings/tests/results/V8Float64Array.cpp |
@@ -26,6 +26,7 @@ |
#include "ExceptionCode.h" |
#include "Frame.h" |
#include "RuntimeEnabledFeatures.h" |
+#include "ScriptController.h" |
#include "V8ArrayBufferView.h" |
#include "V8ArrayBufferViewCustom.h" |
#include "V8Binding.h" |
@@ -121,7 +122,7 @@ v8::Handle<v8::Object> wrap(Float64Array* impl, v8::Handle<v8::Object> creationC |
} |
static const V8DOMConfiguration::BatchedMethod V8Float64ArrayMethods[] = { |
- {"set", Float64ArrayV8Internal::setMethodCallback, 0}, |
+ {"set", Float64ArrayV8Internal::setMethodCallback, 0, 0}, |
}; |
v8::Handle<v8::Value> V8Float64Array::constructorCallback(const v8::Arguments& args) |
@@ -145,6 +146,7 @@ static v8::Persistent<v8::FunctionTemplate> ConfigureV8Float64ArrayTemplate(v8:: |
V8Float64ArrayMethods, WTF_ARRAY_LENGTH(V8Float64ArrayMethods), isolate, currentWorldType); |
UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. |
desc->SetCallHandler(V8Float64Array::constructorCallback); |
+ desc->SetLength(1); |
v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); |
v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); |
UNUSED_PARAM(instance); // In some cases, it will not be used. |