Fix build.

Review URL: https://chromereviews.googleplex.com/3515026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@51 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
srdjan@google.com 2011-10-05 16:39:25 +00:00
parent 2ecf52534f
commit 4b5b7fe381

View file

@ -1374,11 +1374,10 @@ UNIT_TEST_CASE(NullReceiver) {
Dart_Handle function_name = Dart_NewString("toString");
const int number_of_arguments = 0;
Dart_Handle null_receiver = Api::NewLocalHandle(Object::Handle());
Dart_Handle dart_arguments[0];
Dart_Result result = Dart_InvokeDynamic(null_receiver,
function_name,
number_of_arguments,
dart_arguments);
NULL);
EXPECT(Dart_IsValidResult(result));
Dart_Handle retobj = Dart_GetResult(result);
EXPECT(Dart_IsString(retobj));