Index: runtime/bin/snapshot_utils.cc |
diff --git a/runtime/bin/snapshot_utils.cc b/runtime/bin/snapshot_utils.cc |
index 98c342d413238c3f21f0484ce52fe32e29404082..f1ad5354d00e037166bc4be51b25f67f3a469e2c 100644 |
--- a/runtime/bin/snapshot_utils.cc |
+++ b/runtime/bin/snapshot_utils.cc |
@@ -191,7 +191,7 @@ class DylibAppSnapshot : public AppSnapshot { |
static AppSnapshot* TryReadAppSnapshotDynamicLibrary(const char* script_name) { |
- void* library = Extensions::LoadLibrary(script_name); |
+ void* library = Extensions::LoadExtensionLibrary(script_name); |
if (library == NULL) { |
return NULL; |
} |