Index: Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
index 8bb88644a7d39e1386f0efdf6c160295bba0f07d..03062febeeda804b545979a6b9aa7be180fa23ed 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
@@ -37,6 +37,14 @@ namespace blink { |
const WrapperTypeInfo V8TestInterfaceCustomConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceCustomConstructor::domTemplate, V8TestInterfaceCustomConstructor::refObject, V8TestInterfaceCustomConstructor::derefObject, V8TestInterfaceCustomConstructor::createPersistentHandle, 0, 0, 0, V8TestInterfaceCustomConstructor::installConditionallyEnabledMethods, V8TestInterfaceCustomConstructor::installConditionallyEnabledProperties, 0, WrapperTypeObjectPrototype, RefCountedObject }; |
+// The definition of TestInterfaceCustomConstructor's WrapperTypeInfo. If TestInterfaceCustomConstructor 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 |
+// TestInterfaceCustomConstructor doesn't inherit from ScriptWrappable. Note that |
+// NotScriptWrappable is inheritable. |
+const WrapperTypeInfo& TestInterfaceCustomConstructor::s_wrapperTypeInfo = V8TestInterfaceCustomConstructor::wrapperTypeInfo; |
+ |
namespace TestInterfaceCustomConstructorV8Internal { |
template <typename T> void V8_USE(T) { } |