Index: runtime/bin/gen_snapshot.cc |
diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc |
index d783c8572dc7ea8fdd5fdd79e3100334a8f9ac32..f691f1ee60e47f306f778bb06a2934112cf3f0c7 100644 |
--- a/runtime/bin/gen_snapshot.cc |
+++ b/runtime/bin/gen_snapshot.cc |
@@ -435,7 +435,7 @@ static Dart_Handle LoadSnapshotCreationScript(const char* script_name) { |
if (Dart_IsError(source)) { |
return source; |
} |
- return Dart_LoadLibrary(resolved_script_uri, source, 0, 0); |
+ return Dart_LoadScript(resolved_script_uri, source, 0, 0); |
siva
2016/02/09 21:08:34
This will break dartium, mojo, flutter for Android
|
} |