Index: Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
index c3a624fc42164652ac7699218c85247079af1571..ea3c31e5da92b28c857fe40c9678a079156cae13 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
@@ -40,6 +40,14 @@ namespace blink { |
const WrapperTypeInfo V8TestInterfaceConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceConstructor::domTemplate, V8TestInterfaceConstructor::refObject, V8TestInterfaceConstructor::derefObject, V8TestInterfaceConstructor::createPersistentHandle, 0, 0, 0, V8TestInterfaceConstructor::installConditionallyEnabledMethods, V8TestInterfaceConstructor::installConditionallyEnabledProperties, 0, WrapperTypeObjectPrototype, RefCountedObject }; |
+// The definition of TestInterfaceConstructor's WrapperTypeInfo. If TestInterfaceConstructor inherits |
+// from ScriptWrappable, you have to write DEFINE_WRAPPERTYPEINFO macro in the |
+// class definition. Otherwise, you have to write NotScriptWrappable in the IDL |
+// file as an extended attribute in order to let IDL compiler know that |
+// TestInterfaceConstructor doesn't inherit from ScriptWrappable. Note that |
+// NotScriptWrappable is inheritable. |
+const WrapperTypeInfo& TestInterfaceConstructor::s_wrapperTypeInfo = V8TestInterfaceConstructor::wrapperTypeInfo; |
+ |
namespace TestInterfaceConstructorV8Internal { |
template <typename T> void V8_USE(T) { } |