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