| 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 cfeb99b9fff13e99ab23334da9cc5390eb49359f..1037060f0df78749fa06485aa4ed1bf199d1f3f4 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp
|
| @@ -21,6 +21,13 @@
|
|
|
| namespace blink {
|
|
|
| +// static
|
| +VoidCallbackFunctionTypedef* VoidCallbackFunctionTypedef::create(ScriptState* scriptState, v8::Local<v8::Value> callback){
|
| + if (isUndefinedOrNull(callback))
|
| + return nullptr;
|
| + return new VoidCallbackFunctionTypedef(scriptState, v8::Local<v8::Function>::Cast(callback));
|
| +}
|
| +
|
| VoidCallbackFunctionTypedef::VoidCallbackFunctionTypedef(ScriptState* scriptState, v8::Local<v8::Function> callback)
|
| : m_scriptState(scriptState),
|
| m_callback(scriptState->isolate(), this, callback) {
|
|
|