| Index: Source/bindings/tests/results/V8TestObject.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
|
| index 998cec1766bca6dd03e0a66945970f620b778d3c..460b3f03ee487cca28d93946fd5833d4688066bb 100644
|
| --- a/Source/bindings/tests/results/V8TestObject.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObject.cpp
|
| @@ -76,7 +76,6 @@
|
| #include "platform/TraceEvent.h"
|
| #include "wtf/GetPtr.h"
|
| #include "wtf/RefPtr.h"
|
| -#include "wtf/UnusedParam.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -5231,19 +5230,16 @@ static v8::Handle<v8::FunctionTemplate> ConfigureV8TestObjectTemplate(v8::Handle
|
| {
|
| functionTemplate->ReadOnlyPrototype();
|
|
|
| - v8::Local<v8::Signature> defaultSignature;
|
| + v8::Local<v8::Signature> ALLOW_UNUSED defaultSignature;
|
| defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTemplate, "TestObject", V8EventTarget::GetTemplate(isolate, currentWorldType), V8TestObject::internalFieldCount,
|
| V8TestObjectAttributes, WTF_ARRAY_LENGTH(V8TestObjectAttributes),
|
| V8TestObjectAccessors, WTF_ARRAY_LENGTH(V8TestObjectAccessors),
|
| V8TestObjectMethods, WTF_ARRAY_LENGTH(V8TestObjectMethods),
|
| isolate, currentWorldType);
|
| - UNUSED_PARAM(defaultSignature);
|
| functionTemplate->SetCallHandler(V8TestObject::constructorCallback);
|
| functionTemplate->SetLength(1);
|
| - 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();
|
| if (RuntimeEnabledFeatures::featureNameEnabled()) {
|
| static const V8DOMConfiguration::AttributeConfiguration attributeConfiguration =\
|
| {"enabledAtRuntimeAttr", TestObjV8Internal::enabledAtRuntimeAttrAttributeGetterCallback, TestObjV8Internal::enabledAtRuntimeAttrAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */};
|
| @@ -5368,9 +5364,7 @@ void V8TestObject::installPerContextEnabledProperties(v8::Handle<v8::Object> ins
|
|
|
| void V8TestObject::installPerContextEnabledMethods(v8::Handle<v8::Object> prototypeTemplate, v8::Isolate* isolate)
|
| {
|
| - UNUSED_PARAM(prototypeTemplate);
|
| - v8::Local<v8::Signature> defaultSignature = v8::Signature::New(isolate, GetTemplate(isolate, worldType(isolate)));
|
| - UNUSED_PARAM(defaultSignature);
|
| + v8::Local<v8::Signature> ALLOW_UNUSED defaultSignature = v8::Signature::New(isolate, GetTemplate(isolate, worldType(isolate)));
|
|
|
| ExecutionContext* context = toExecutionContext(prototypeTemplate->CreationContext());
|
| if (context && context->isDocument() && ContextFeatures::featureNameEnabled(toDocument(context)))
|
|
|