| Index: Source/bindings/tests/results/V8TestInterfacePython.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfacePython.cpp b/Source/bindings/tests/results/V8TestInterfacePython.cpp
|
| index 83fe0601dd4fcb6fb59cf34f09131e84e96b55f1..77be27c6894562ee5c5e8c1bf702f05c11529811 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfacePython.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfacePython.cpp
|
| @@ -44,7 +44,6 @@
|
| #include "core/dom/Document.h"
|
| #include "core/dom/Element.h"
|
| #include "platform/TraceEvent.h"
|
| -#include "wtf/UnusedParam.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -90,7 +89,7 @@ static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfacePythonTemplate(v
|
| {
|
| functionTemplate->ReadOnlyPrototype();
|
|
|
| - v8::Local<v8::Signature> defaultSignature;
|
| + v8::Local<v8::Signature> ALLOW_UNUSED defaultSignature;
|
| if (!RuntimeEnabledFeatures::featureNameEnabled())
|
| defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTemplate, "", v8::Local<v8::FunctionTemplate>(), V8TestInterfacePython::internalFieldCount, 0, 0, 0, 0, 0, 0, isolate, currentWorldType);
|
| else
|
| @@ -99,11 +98,8 @@ static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfacePythonTemplate(v
|
| 0, 0,
|
| 0, 0,
|
| isolate, currentWorldType);
|
| - UNUSED_PARAM(defaultSignature);
|
| - v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceTemplate();
|
| - v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->PrototypeTemplate();
|
| - UNUSED_PARAM(instanceTemplate);
|
| - UNUSED_PARAM(prototypeTemplate);
|
| + v8::Local<v8::ObjectTemplate> ALLOW_UNUSED instanceTemplate = functionTemplate->InstanceTemplate();
|
| + v8::Local<v8::ObjectTemplate> ALLOW_UNUSED prototypeTemplate = functionTemplate->PrototypeTemplate();
|
| functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfacePython::legacyCallCustom);
|
|
|
| // Custom toString template
|
|
|