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