Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5067)

Unified Diff: runtime/vm/unit_test.cc

Issue 10574037: Add dart:web to VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/web_sources.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unit_test.cc
===================================================================
--- runtime/vm/unit_test.cc (revision 8989)
+++ runtime/vm/unit_test.cc (working copy)
@@ -84,6 +84,8 @@
return Builtin::LoadLibrary(Builtin::kUtfLibrary);
} else if (DartUtils::IsDartCryptoLibURL(url_chars)) {
return Builtin::LoadLibrary(Builtin::kCryptoLibrary);
+ } else if (DartUtils::IsDartWebLibURL(url_chars)) {
+ return Builtin::LoadLibrary(Builtin::kWebLibrary);
} else {
return Dart_Error("Do not know how to load '%s'", url_chars);
}
« no previous file with comments | « runtime/bin/web_sources.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698