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