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