Index: runtime/bin/directory.cc |
diff --git a/runtime/bin/directory.cc b/runtime/bin/directory.cc |
index 8b1e57c31a0b3bfaaa32aa6594c870b952d64040..c85d181ae5eb04a584a9046f77c2a0a93283a5bb 100644 |
--- a/runtime/bin/directory.cc |
+++ b/runtime/bin/directory.cc |
@@ -187,7 +187,7 @@ static CObject* DirectoryListRequest(const CObjectArray& request, |
CObjectArray* response = new CObjectArray(CObject::NewArray(3)); |
response->SetAt(0, new CObjectInt32( |
CObject::NewInt32(DirectoryListing::kListError))); |
- response->SetAt(1, request[1]); |
+ response->SetAt(1, CObject::Null()); |
response->SetAt(2, CObject::IllegalArgumentError()); |
Dart_PostCObject(response_port, response->AsApiCObject()); |