Index: Source/bindings/tests/results/V8TestOverloadedConstructors.cpp |
diff --git a/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp b/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp |
index 00eb27209ae7a2c4265cff62870d7fed8f06f2bb..baa33dedd9eb9140e886c79c1af4d0ddd078a765 100644 |
--- a/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp |
+++ b/Source/bindings/tests/results/V8TestOverloadedConstructors.cpp |
@@ -26,6 +26,7 @@ |
#include "ExceptionCode.h" |
#include "Frame.h" |
#include "RuntimeEnabledFeatures.h" |
+#include "ScriptController.h" |
#include "V8ArrayBuffer.h" |
#include "V8ArrayBufferView.h" |
#include "V8Binding.h" |
@@ -157,6 +158,7 @@ static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestOverloadedConstructor |
0, 0, isolate, currentWorldType); |
UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. |
desc->SetCallHandler(V8TestOverloadedConstructors::constructorCallback); |
+ desc->SetLength(1); |
// Custom toString template |
desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->toStringTemplate()); |