| Index: Source/bindings/tests/results/V8TestException.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestException.cpp b/Source/bindings/tests/results/V8TestException.cpp
|
| index c7fef20f94ea760de888eb2210b34458cc6de6b6..339422aa59786af7e09903b5ac1f0f73886820e9 100644
|
| --- a/Source/bindings/tests/results/V8TestException.cpp
|
| +++ b/Source/bindings/tests/results/V8TestException.cpp
|
| @@ -41,7 +41,6 @@
|
| #include "core/dom/ContextFeatures.h"
|
| #include "core/dom/Document.h"
|
| #include "platform/TraceEvent.h"
|
| -#include "wtf/UnusedParam.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -94,17 +93,14 @@ static v8::Handle<v8::FunctionTemplate> ConfigureV8TestExceptionTemplate(v8::Han
|
| {
|
| functionTemplate->ReadOnlyPrototype();
|
|
|
| - v8::Local<v8::Signature> defaultSignature;
|
| + v8::Local<v8::Signature> ALLOW_UNUSED defaultSignature;
|
| defaultSignature = V8DOMConfiguration::installDOMClassTemplate(functionTemplate, "TestException", v8::Local<v8::FunctionTemplate>(), V8TestException::internalFieldCount,
|
| V8TestExceptionAttributes, WTF_ARRAY_LENGTH(V8TestExceptionAttributes),
|
| 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();
|
|
|
| // Custom toString template
|
| functionTemplate->Set(v8::String::NewFromUtf8(isolate, "toString", v8::String::kInternalizedString), V8PerIsolateData::current()->toStringTemplate());
|
|
|