| Index: Source/bindings/tests/results/V8TestNode.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestNode.cpp b/Source/bindings/tests/results/V8TestNode.cpp
|
| index 611600236cc5df636be71eb9a5e4b06a70c92ad4..9ec4db748f7e1ba6e47e48f503280655e0924f2d 100644
|
| --- a/Source/bindings/tests/results/V8TestNode.cpp
|
| +++ b/Source/bindings/tests/results/V8TestNode.cpp
|
| @@ -44,7 +44,6 @@
|
| #include "core/dom/ContextFeatures.h"
|
| #include "core/dom/Document.h"
|
| #include "platform/TraceEvent.h"
|
| -#include "wtf/UnusedParam.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -166,19 +165,16 @@ static v8::Handle<v8::FunctionTemplate> ConfigureV8TestNodeTemplate(v8::Handle<v
|
| {
|
| functionTemplate->ReadOnlyPrototype();
|
|
|
| - v8::Local<v8::Signature> defaultSignature;
|
| + v8::Local<v8::Signature> ALLOW_UNUSED defaultSignature;
|
| defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTemplate, "TestNode", V8Node::GetTemplate(isolate, currentWorldType), V8TestNode::internalFieldCount,
|
| V8TestNodeAttributes, WTF_ARRAY_LENGTH(V8TestNodeAttributes),
|
| 0, 0,
|
| 0, 0,
|
| isolate, currentWorldType);
|
| - UNUSED_PARAM(defaultSignature);
|
| functionTemplate->SetCallHandler(V8TestNode::constructorCallback);
|
| functionTemplate->SetLength(0);
|
| - 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();
|
|
|
| // Custom toString template
|
| functionTemplate->Set(v8::String::NewFromUtf8(isolate, "toString", v8::String::kInternalizedString), V8PerIsolateData::current()->toStringTemplate());
|
|
|