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