| Index: runtime/bin/file_android.cc
|
| diff --git a/runtime/bin/file_android.cc b/runtime/bin/file_android.cc
|
| index a139876bdb3412d21c71b1ba3d54b538146d334d..ea512ad6593bdd514cfcb59e192e3cbb9c534eca 100644
|
| --- a/runtime/bin/file_android.cc
|
| +++ b/runtime/bin/file_android.cc
|
| @@ -183,7 +183,7 @@ File* File::FileOpenW(const wchar_t* system_name, FileOpenMode mode) {
|
| }
|
|
|
|
|
| -File* File::ScopedOpen(const char* name, FileOpenMode mode) {
|
| +File* File::Open(const char* name, FileOpenMode mode) {
|
| // Report errors for non-regular files.
|
| struct stat st;
|
| if (NO_RETRY_EXPECTED(stat(name, &st)) == 0) {
|
| @@ -220,12 +220,6 @@ File* File::ScopedOpen(const char* name, FileOpenMode mode) {
|
| }
|
|
|
|
|
| -File* File::Open(const char* path, FileOpenMode mode) {
|
| - // ScopedOpen doesn't actually need a scope.
|
| - return ScopedOpen(path, mode);
|
| -}
|
| -
|
| -
|
| File* File::OpenStdio(int fd) {
|
| return ((fd < 0) || (2 < fd)) ? NULL : new File(new FileHandle(fd));
|
| }
|
|
|