| Index: Source/bindings/tests/results/core/V8TestException.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestException.cpp b/Source/bindings/tests/results/core/V8TestException.cpp
|
| index b0645768b976ae111c6d84fcf6d213133a3b9843..8dfe79a298a22fbca8c654ed7f50baff43197f38 100644
|
| --- a/Source/bindings/tests/results/core/V8TestException.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestException.cpp
|
| @@ -143,10 +143,8 @@ static void installV8TestExceptionTemplate(v8::Local<v8::FunctionTemplate> funct
|
| {"UNSIGNED_SHORT_CONSTANT", 1, 0, V8DOMConfiguration::ConstantTypeUnsignedShort},
|
| };
|
| V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTemplate, V8TestExceptionConstants, WTF_ARRAY_LENGTH(V8TestExceptionConstants));
|
| - const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration = {
|
| - "toString", TestExceptionV8Internal::toStringMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts,
|
| - };
|
| - V8DOMConfiguration::installMethod(isolate, prototypeTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConfiguration);
|
| + const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration = {"toString", TestExceptionV8Internal::toStringMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype};
|
| + V8DOMConfiguration::installMethod(isolate, instanceTemplate, prototypeTemplate, functionTemplate, defaultSignature, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConfiguration);
|
|
|
| // Custom toString template
|
| functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate());
|
|
|