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