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