| Index: Source/bindings/tests/results/V8TestInterface.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterface.cpp b/Source/bindings/tests/results/V8TestInterface.cpp
|
| index 3ded059c78bf291962c4a39c2e3dde1120bf541a..934ab7c8a710fdd08110578c21bd3a2d4915f3de 100644
|
| --- a/Source/bindings/tests/results/V8TestInterface.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterface.cpp
|
| @@ -27,6 +27,7 @@
|
| #include "ExceptionCode.h"
|
| #include "Frame.h"
|
| #include "RuntimeEnabledFeatures.h"
|
| +#include "ScriptController.h"
|
| #include "TestSupplemental.h"
|
| #include "V8Binding.h"
|
| #include "V8DOMWrapper.h"
|
| @@ -383,10 +384,10 @@ static const V8DOMConfiguration::BatchedAttribute V8TestInterfaceAttrs[] = {
|
|
|
| static const V8DOMConfiguration::BatchedMethod V8TestInterfaceMethods[] = {
|
| #if ENABLE(Condition11) || ENABLE(Condition12)
|
| - {"supplementalMethod1", TestInterfaceV8Internal::supplementalMethod1MethodCallback, 0},
|
| + {"supplementalMethod1", TestInterfaceV8Internal::supplementalMethod1MethodCallback, 0, 0},
|
| #endif
|
| #if ENABLE(Condition11) || ENABLE(Condition12)
|
| - {"supplementalMethod3", TestInterfaceV8Internal::supplementalMethod3MethodCallback, 0},
|
| + {"supplementalMethod3", TestInterfaceV8Internal::supplementalMethod3MethodCallback, 0, 0},
|
| #endif
|
| };
|
|
|
| @@ -428,6 +429,7 @@ static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestInterfaceTemplate(v8:
|
| V8TestInterfaceMethods, WTF_ARRAY_LENGTH(V8TestInterfaceMethods), isolate, currentWorldType);
|
| UNUSED_PARAM(defaultSignature); // In some cases, it will not be used.
|
| desc->SetCallHandler(V8TestInterface::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.
|
|
|