| Index: runtime/bin/file_android.cc
|
| diff --git a/runtime/bin/file_android.cc b/runtime/bin/file_android.cc
|
| index a6f04d48fa3a17ac0cfc58e48644ad49b44e71ba..77665e6f8c0639e1f48c0ebe7ff34e499cc4ab41 100644
|
| --- a/runtime/bin/file_android.cc
|
| +++ b/runtime/bin/file_android.cc
|
| @@ -125,13 +125,13 @@ File* File::Open(const char* name, FileOpenMode mode) {
|
| return NULL;
|
| }
|
| }
|
| - return new File(name, new FileHandle(fd));
|
| + return new File(new FileHandle(fd));
|
| }
|
|
|
|
|
| File* File::OpenStdio(int fd) {
|
| if (fd < 0 || 2 < fd) return NULL;
|
| - return new File(NULL, new FileHandle(fd));
|
| + return new File(new FileHandle(fd));
|
| }
|
|
|
|
|
|
|