Index: third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.h |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.h b/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.h |
index 760c06c3d4623c55b9e8a342cb197fcd1ff2e5bf..1bf142c63cefd3bb5d3edb13a00ae67a860e1249 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.h |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.h |
@@ -13,6 +13,7 @@ |
#ifndef LongCallbackFunction_h |
#define LongCallbackFunction_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,11 @@ class CORE_EXPORT LongCallbackFunction final : public GarbageCollectedFinalized< |
TraceWrapperV8Reference<v8::Function> m_callback; |
}; |
+template <> |
+struct NativeValueTraits<LongCallbackFunction> : public NativeValueTraitsBase<LongCallbackFunction> { |
+ CORE_EXPORT static LongCallbackFunction* nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&); |
+}; |
+ |
} // namespace blink |
#endif // LongCallbackFunction_h |