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