Index: third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp b/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp |
index fd812d8ece70aa084fd471dcea18575f542004cb..e34562df5b5350614447cc362db8ae31c6ce5df9 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/LongCallbackFunction.cpp |
@@ -78,4 +78,8 @@ bool LongCallbackFunction::call(ScriptWrappable* scriptWrappable, int num1, int |
return false; |
} |
+LongCallbackFunction* NativeValueTraits<LongCallbackFunction>::nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) { |
+ return LongCallbackFunction::create(ScriptState::current(isolate), value); |
+} |
+ |
} // namespace blink |