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