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