Chromium Code Reviews| Index: runtime/bin/gen_snapshot.cc |
| =================================================================== |
| --- runtime/bin/gen_snapshot.cc (revision 8884) |
| +++ runtime/bin/gen_snapshot.cc (working copy) |
| @@ -188,6 +188,8 @@ |
| id = Builtin::kUriLibrary; |
| } else if (DartUtils::IsDartUtfLibURL(url_string)) { |
| id = Builtin::kUtfLibrary; |
| + } else if (DartUtils::IsDartWebLibURL(url_string)) { |
| + id = Builtin::kWebLibrary; |
| } else { |
|
siva
2012/06/20 02:07:39
As more and more of these libraries get added to t
|
| return Dart_Error("Do not know how to load '%s'", url_string); |
| } |
| @@ -310,6 +312,8 @@ |
| VerifyLoaded(library); |
| library = LoadGenericSnapshotCreationScript(Builtin::kUtfLibrary); |
| VerifyLoaded(library); |
| + library = LoadGenericSnapshotCreationScript(Builtin::kWebLibrary); |
| + VerifyLoaded(library); |
| } |
| uint8_t* buffer = NULL; |