Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
index e51fc200c810776810aa0dd593f25658b8ab73b1..239dc2c220b6200f96a30ceb0930e21809b119fa 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
@@ -37,6 +37,12 @@ const WrapperTypeInfo V8TestInterfaceConstructor::wrapperTypeInfo = { gin::kEmbe |
// bindings/core/v8/ScriptWrappable.h. |
const WrapperTypeInfo& TestInterfaceConstructor::s_wrapperTypeInfo = V8TestInterfaceConstructor::wrapperTypeInfo; |
+static_assert( |
+ !std::is_base_of<ActiveScriptWrappable, TestInterfaceConstructor>::value, |
+ "TestInterfaceConstructor inherits from ActiveScriptWrappable, but does not specify " |
+ "[ActiveScriptWrappable] extended attribute in the IDL file. " |
+ "Be consistent."); |
+ |
namespace TestInterfaceConstructorV8Internal { |
static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info) |