| Index: Source/bindings/tests/results/core/V8ArrayBuffer.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8ArrayBuffer.cpp b/Source/bindings/tests/results/core/V8ArrayBuffer.cpp
|
| index a491e06ccea842c83a4c278c9a1bb7a46e705998..e7b51eb3daa1ab55bf1c6ef92d5ad8150badcf77 100644
|
| --- a/Source/bindings/tests/results/core/V8ArrayBuffer.cpp
|
| +++ b/Source/bindings/tests/results/core/V8ArrayBuffer.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 V8ArrayBuffer::wrapperTypeInfo = { gin::kEmbedderBlink, 0, V8ArrayBuffer::refObject, V8ArrayBuffer::derefObject, V8ArrayBuffer::trace, 0, 0, V8ArrayBuffer::preparePrototypeObject, V8ArrayBuffer::installConditionallyEnabledProperties, "ArrayBuffer", 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 TestArrayBuffer.h.
|
| // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
|
|
|