Index: Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp b/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp |
index b96d5e7ec1f415eb337359d459e7d93f289794e5..052ab0ac79b155ea1bb4fe14af4b31f4067e239f 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp |
@@ -545,6 +545,8 @@ static void installV8TestInterfaceCheckSecurityTemplate(v8::Local<v8::FunctionTe |
ALLOW_UNUSED_LOCAL(instanceTemplate); |
v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->PrototypeTemplate(); |
ALLOW_UNUSED_LOCAL(prototypeTemplate); |
+ ExecutionContext* context = currentExecutionContext(isolate); |
+ ALLOW_UNUSED_LOCAL(context); |
instanceTemplate->SetAccessCheckCallbacks(TestInterfaceCheckSecurityV8Internal::namedSecurityCheck, TestInterfaceCheckSecurityV8Internal::indexedSecurityCheck, v8::External::New(isolate, const_cast<WrapperTypeInfo*>(&V8TestInterfaceCheckSecurity::wrapperTypeInfo))); |
static const V8DOMConfiguration::AttributeConfiguration doNotCheckSecurityVoidMethodOriginSafeAttributeConfiguration = { |
"doNotCheckSecurityVoidMethod", TestInterfaceCheckSecurityV8Internal::doNotCheckSecurityVoidMethodOriginSafeMethodGetterCallback, TestInterfaceCheckSecurityV8Internal::TestInterfaceCheckSecurityOriginSafeMethodSetterCallback, 0, 0, &V8TestInterfaceCheckSecurity::wrapperTypeInfo, v8::ALL_CAN_READ, static_cast<v8::PropertyAttribute>(v8::DontDelete), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, |