summaryrefslogtreecommitdiff
path: root/runtime/vdex_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/vdex_file.cc')
-rw-r--r--runtime/vdex_file.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/vdex_file.cc b/runtime/vdex_file.cc
index 12bc45108e..a71578b1c3 100644
--- a/runtime/vdex_file.cc
+++ b/runtime/vdex_file.cc
@@ -19,6 +19,7 @@
#include <memory>
#include "base/logging.h"
+#include "base/unix_file/fd_file.h"
namespace art {
@@ -81,7 +82,7 @@ VdexFile* VdexFile::Open(const std::string& vdex_filename,
}
*error_msg = "Success";
- return new VdexFile(vdex_file.release(), mmap.release());
+ return new VdexFile(mmap.release());
}
} // namespace art