Chromium Code Reviews| Index: runtime/bin/file_win.cc |
| diff --git a/runtime/bin/file_win.cc b/runtime/bin/file_win.cc |
| index bbba55b20ae3d791df9143cb66cdeb408823b2cf..0e4263b4ce6347029de9335b77f93a1deabf0e13 100644 |
| --- a/runtime/bin/file_win.cc |
| +++ b/runtime/bin/file_win.cc |
| @@ -59,6 +59,11 @@ void File::Close() { |
| } |
| +intptr_t File::GetFD() { |
| + return handle_->fd(); |
| +} |
| + |
| + |
| bool File::IsClosed() { |
| return handle_->fd() == kClosedFd; |
| } |