Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp |
index 934fd9aca8ca2168716e1bb76e923742a6855807..c66b89e180fd9922da5cf4f06774bba1be1de0e7 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp |
@@ -32,6 +32,12 @@ const WrapperTypeInfo V8TestException::wrapperTypeInfo = { gin::kEmbedderBlink, |
// bindings/core/v8/ScriptWrappable.h. |
const WrapperTypeInfo& TestException::s_wrapperTypeInfo = V8TestException::wrapperTypeInfo; |
+static_assert( |
+ !std::is_base_of<ActiveScriptWrappable, TestException>::value, |
+ "TestException inherits from ActiveScriptWrappable, but does not specify " |
+ "[ActiveScriptWrappable] extended attribute in the IDL file. " |
+ "Be consistent."); |
+ |
namespace TestExceptionV8Internal { |
static void readonlyUnsignedShortAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) |