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