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