| Index: Source/bindings/tests/results/core/V8TestException.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestException.cpp b/Source/bindings/tests/results/core/V8TestException.cpp
|
| index e5cd08b0c56771f04cde610b84e692832b46a514..25847c58dfc3d724937568a0903b3e77be535a1e 100644
|
| --- a/Source/bindings/tests/results/core/V8TestException.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestException.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 V8TestException::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestException::domTemplate, V8TestException::refObject, V8TestException::derefObject, V8TestException::trace, 0, 0, V8TestException::preparePrototypeObject, V8TestException::installConditionallyEnabledProperties, "TestException", 0, WrapperTypeInfo::WrapperTypeExceptionPrototype, 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 TestException.h.
|
| // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
|
|
|