| Index: Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp b/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
|
| index 5498c3e62ea1d9be7b5c5f5367fc59a94a755db6..54962c8d2368d7ebbe029c9775ad59dfb45c2aee 100644
|
| --- a/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp
|
| @@ -85,8 +85,14 @@ static void installV8TestSpecialOperationsNotEnumerableTemplate(v8::Local<v8::Fu
|
| ALLOW_UNUSED_LOCAL(instanceTemplate);
|
| v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->PrototypeTemplate();
|
| ALLOW_UNUSED_LOCAL(prototypeTemplate);
|
| - functionTemplate->InstanceTemplate()->SetHandler(v8::IndexedPropertyHandlerConfiguration(TestSpecialOperationsNotEnumerableV8Internal::indexedPropertyGetterCallback, 0, 0, 0, 0));
|
| - functionTemplate->InstanceTemplate()->SetHandler(v8::NamedPropertyHandlerConfiguration(TestSpecialOperationsNotEnumerableV8Internal::namedPropertyGetterCallback, 0, 0, 0, 0));
|
| + {
|
| + v8::IndexedPropertyHandlerConfiguration config(TestSpecialOperationsNotEnumerableV8Internal::indexedPropertyGetterCallback, 0, 0, 0, 0);
|
| + functionTemplate->InstanceTemplate()->SetHandler(config);
|
| + }
|
| + {
|
| + v8::NamedPropertyHandlerConfiguration config(TestSpecialOperationsNotEnumerableV8Internal::namedPropertyGetterCallback, 0, 0, 0, 0);
|
| + functionTemplate->InstanceTemplate()->SetHandler(config);
|
| + }
|
|
|
| // Custom toString template
|
| functionTemplate->Set(v8AtomicString(isolate, "toString"), V8PerIsolateData::from(isolate)->toStringTemplate());
|
|
|