Index: third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
index 132e30ab350cda99b77af61fa33eb8530daca3d8..396a62f234dd75b3c1b7e91001d4a5d8868797b6 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
@@ -273,6 +273,11 @@ class {{v8_class}} { |
{% endif %} |
template <> |
+struct NativeValueTraits<{{cpp_class}}> : public NativeValueTraitsBase<{{cpp_class}}> { |
+ {{exported}}static {{cpp_class}}* nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |
+}; |
+ |
+template <> |
struct V8TypeOf<{{cpp_class}}> { |
typedef {{v8_class}} Type; |
}; |