Index: mojo/services/files/public/c/lib/directory_wrapper.cc |
diff --git a/mojo/services/files/public/c/lib/directory_wrapper.cc b/mojo/services/files/public/c/lib/directory_wrapper.cc |
index d67615d3655e642434afbc51837f29c03b42bbea..986df54cc66a98885c50b1d8ee34252cccffd78e 100644 |
--- a/mojo/services/files/public/c/lib/directory_wrapper.cc |
+++ b/mojo/services/files/public/c/lib/directory_wrapper.cc |
@@ -71,7 +71,7 @@ std::unique_ptr<FDImpl> DirectoryWrapper::Open(const char* path, |
// with it? |
mojo::files::FilePtr file; |
- mojo::files::Error error = mojo::files::ERROR_INTERNAL; |
+ mojo::files::Error error = mojo::files::Error::INTERNAL; |
directory_->OpenFile(path, mojo::GetProxy(&file), mojo_open_flags, |
Capture(&error)); |
if (!directory_.WaitForIncomingResponse()) { |
@@ -93,7 +93,7 @@ bool DirectoryWrapper::Chdir(const char* path) { |
return errno_setter.Set(EFAULT); |
mojo::files::DirectoryPtr new_directory; |
- mojo::files::Error error = mojo::files::ERROR_INTERNAL; |
+ mojo::files::Error error = mojo::files::Error::INTERNAL; |
directory_->OpenDirectory( |
path, mojo::GetProxy(&new_directory), |
mojo::files::kOpenFlagRead | mojo::files::kOpenFlagWrite, |