| Index: Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp b/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
| index 43450c4c57ed0bc7fed647e5ced1ab4d646da7e7..1011be48d26e2e61b1ec36a2495efefd66b2d4d7 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
| @@ -24,7 +24,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 V8TestInterfaceGarbageCollected::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceGarbageCollected::domTemplate, V8TestInterfaceGarbageCollected::refObject, V8TestInterfaceGarbageCollected::derefObject, V8TestInterfaceGarbageCollected::trace, 0, 0, V8TestInterfaceGarbageCollected::preparePrototypeObject, V8TestInterfaceGarbageCollected::installConditionallyEnabledProperties, "TestInterfaceGarbageCollected", &V8EventTarget::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::InheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::GarbageCollectedObject };
|
| +#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
|
| +#pragma clang diagnostic pop
|
| +#endif
|
|
|
| // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfaceGarbageCollected.h.
|
| // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
|
|
|