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