Index: third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.h b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.h |
index 93c5b186c11cb78f5bd3b078644b4b28add70ecf..34ee46d4464ca0a96c87b2fb3cda2d88eab1df3e 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.h |
@@ -13,6 +13,7 @@ |
#ifndef VoidCallbackFunctionTypedef_h |
#define VoidCallbackFunctionTypedef_h |
+#include "bindings/core/v8/NativeValueTraits.h" |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "bindings/core/v8/TraceWrapperV8Reference.h" |
#include "core/CoreExport.h" |
@@ -45,6 +46,12 @@ class CORE_EXPORT VoidCallbackFunctionTypedef final : public GarbageCollectedFin |
TraceWrapperV8Reference<v8::Function> m_callback; |
}; |
+template <> |
+struct NativeValueTraits<VoidCallbackFunctionTypedef> { |
+ using ImplType = VoidCallbackFunctionTypedef; |
+ CORE_EXPORT static VoidCallbackFunctionTypedef* nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |
+}; |
+ |
} // namespace blink |
#endif // VoidCallbackFunctionTypedef_h |