Index: third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.h b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.h |
index fb1d4f7cf6906b1425bcbd71baf34a3093f76311..f6461c58638f910c32220b0a32a034fdc6641822 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.h |
@@ -13,6 +13,7 @@ |
#ifndef VoidCallbackFunction_h |
#define VoidCallbackFunction_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 VoidCallbackFunction final : public GarbageCollectedFinalized< |
TraceWrapperV8Reference<v8::Function> m_callback; |
}; |
+template <> |
+struct NativeValueTraits<VoidCallbackFunction> { |
+ using ImplType = VoidCallbackFunction; |
+ CORE_EXPORT static VoidCallbackFunction* nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |
+}; |
+ |
} // namespace blink |
#endif // VoidCallbackFunction_h |