Index: third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp |
index 8e6cfdf57425ad8ce7580cc612edfe0cb40ad892..ac28a3f3dca9cdd30c1036009b5fa49f31ad81bc 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp |
@@ -13,6 +13,8 @@ |
#include "VoidCallbackFunctionTypedef.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/IDLTypes.h" |
+#include "bindings/core/v8/NativeValueTraitsImpl.h" |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/ToV8.h" |
#include "bindings/core/v8/V8Binding.h" |
@@ -73,4 +75,8 @@ bool VoidCallbackFunctionTypedef::call(ScriptWrappable* scriptWrappable, const S |
return false; |
} |
+VoidCallbackFunctionTypedef* NativeValueTraits<VoidCallbackFunctionTypedef>::nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) { |
+ return VoidCallbackFunctionTypedef::create(ScriptState::current(isolate), value); |
+} |
+ |
} // namespace blink |