| Index: Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp b/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
|
| index 0f73c7874a1a00b89262a565915bd7d16c4580ae..63d9de4cae06729ca2346de0c7794cc28fa34b45 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
|
| @@ -21,7 +21,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 V8TestInterfaceConstructor4::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceConstructor4::domTemplate, V8TestInterfaceConstructor4::refObject, V8TestInterfaceConstructor4::derefObject, V8TestInterfaceConstructor4::trace, 0, 0, V8TestInterfaceConstructor4::preparePrototypeObject, V8TestInterfaceConstructor4::installConditionallyEnabledProperties, "TestInterfaceConstructor4", 0, 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 TestInterfaceConstructor4.h.
|
| // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
|
|
|