| Index: Source/bindings/tests/results/core/V8TestInterfaceOwnPropertiesDerived.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceOwnPropertiesDerived.cpp b/Source/bindings/tests/results/core/V8TestInterfaceOwnPropertiesDerived.cpp
|
| index 43e128fbcafc9f4a9ef2bfa4cf535afb88c35aef..b64506af90dc8ff55a1779b3ab7552769a08cd6b 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterfaceOwnPropertiesDerived.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceOwnPropertiesDerived.cpp
|
| @@ -19,7 +19,16 @@
|
|
|
| namespace blink {
|
|
|
| +// Suppress warning: global constructors, because struct WrapperTypeInfo is trivial
|
| +// and does not depend on another global objects.
|
| +#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
|
| +#pragma clang diagnostic push
|
| +#pragma clang diagnostic ignored "-Wglobal-constructors"
|
| +#endif
|
| const WrapperTypeInfo V8TestInterfaceOwnPropertiesDerived::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceOwnPropertiesDerived::domTemplate, V8TestInterfaceOwnPropertiesDerived::refObject, V8TestInterfaceOwnPropertiesDerived::derefObject, V8TestInterfaceOwnPropertiesDerived::trace, 0, 0, V8TestInterfaceOwnPropertiesDerived::preparePrototypeObject, V8TestInterfaceOwnPropertiesDerived::installConditionallyEnabledProperties, "TestInterfaceOwnPropertiesDerived", &V8TestInterfaceOwnProperties::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject };
|
| +#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
|
| +#pragma clang diagnostic pop
|
| +#endif
|
|
|
| // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfaceOwnPropertiesDerived.h.
|
| // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
|
| @@ -127,10 +136,19 @@ static void doNotExposeJSAccessorAttributeAttributeSetterCallback(v8::Local<v8::
|
|
|
| } // namespace TestInterfaceOwnPropertiesDerivedV8Internal
|
|
|
| +// Suppress warning: global constructors, because AttributeConfiguration is trivial
|
| +// and does not depend on another global objects.
|
| +#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
|
| +#pragma clang diagnostic push
|
| +#pragma clang diagnostic ignored "-Wglobal-constructors"
|
| +#endif
|
| static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceOwnPropertiesDerivedAttributes[] = {
|
| {"noExposeJSAccessorAttribute", TestInterfaceOwnPropertiesDerivedV8Internal::noExposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesDerivedV8Internal::noExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder},
|
| {"doNotExposeJSAccessorAttribute", TestInterfaceOwnPropertiesDerivedV8Internal::doNotExposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesDerivedV8Internal::doNotExposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOMConfiguration::CheckHolder},
|
| };
|
| +#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
|
| +#pragma clang diagnostic pop
|
| +#endif
|
|
|
| static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceOwnPropertiesDerivedAccessors[] = {
|
| {"exposeJSAccessorAttribute", TestInterfaceOwnPropertiesDerivedV8Internal::exposeJSAccessorAttributeAttributeGetterCallback, TestInterfaceOwnPropertiesDerivedV8Internal::exposeJSAccessorAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
|
|
|