Index: Source/bindings/tests/results/V8TestTypedefs.cpp |
diff --git a/Source/bindings/tests/results/V8TestTypedefs.cpp b/Source/bindings/tests/results/V8TestTypedefs.cpp |
index bf893532042d497bd1e1e07f7ad6ba4224cdbfef..a1044a56f10c7687aedd9e83ff395e765186bfb8 100644 |
--- a/Source/bindings/tests/results/V8TestTypedefs.cpp |
+++ b/Source/bindings/tests/results/V8TestTypedefs.cpp |
@@ -342,8 +342,9 @@ static void nullableArrayArgMethod(const v8::FunctionCallbackInfo<v8::Value>& ar |
return; |
} |
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder()); |
+ bool arrayArgIsNull = args[0]->IsNull(); |
V8TRYCATCH_VOID(Vector<String>, arrayArg, toNativeArray<String>(args[0], args.GetIsolate())); |
- imp->nullableArrayArg(arrayArg); |
+ imp->nullableArrayArg(arrayArgIsNull ? 0 : &arrayArg); |
return; |
} |