Index: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h |
index fc720f86b767c21a9bd63220c04f3011f3f69bed..d5514399ab16ed89eb358ebb2922a064153b6e2e 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h |
@@ -13,6 +13,7 @@ |
#ifndef VoidCallbackFunctionModules_h |
#define VoidCallbackFunctionModules_h |
+#include "bindings/core/v8/NativeValueTraits.h" |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "bindings/core/v8/TraceWrapperV8Reference.h" |
#include "modules/ModulesExport.h" |
@@ -45,6 +46,12 @@ class MODULES_EXPORT VoidCallbackFunctionModules final : public GarbageCollected |
TraceWrapperV8Reference<v8::Function> m_callback; |
}; |
+template <> |
+struct NativeValueTraits<VoidCallbackFunctionModules> { |
+ using ImplType = VoidCallbackFunctionModules; |
+ MODULES_EXPORT static VoidCallbackFunctionModules* nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |
+}; |
+ |
} // namespace blink |
#endif // VoidCallbackFunctionModules_h |