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