summaryrefslogtreecommitdiff
path: root/runtime/oat_file_assistant.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/oat_file_assistant.h')
-rw-r--r--runtime/oat_file_assistant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/oat_file_assistant.h b/runtime/oat_file_assistant.h
index effeabb126..3f018dceff 100644
--- a/runtime/oat_file_assistant.h
+++ b/runtime/oat_file_assistant.h
@@ -180,7 +180,7 @@ class OatFileAssistant {
std::unique_ptr<OatFile> GetBestOatFile();
// Open and returns an image space associated with the oat file.
- static gc::space::ImageSpace* OpenImageSpace(const OatFile* oat_file);
+ static std::unique_ptr<gc::space::ImageSpace> OpenImageSpace(const OatFile* oat_file);
// Loads the dex files in the given oat file for the given dex location.
// The oat file should be up to date for the given dex location.