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