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

Unified Diff: runtime/bin/vmservice_dartium.cc

Issue 1143573003: Add dart:io and dart:_builtin to the dartium snapshot so that vmservices can work, the previous app… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 7 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/bin.gypi ('k') | runtime/bin/vmserviceio_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice_dartium.cc
===================================================================
--- runtime/bin/vmservice_dartium.cc (revision 45829)
+++ runtime/bin/vmservice_dartium.cc (working copy)
@@ -52,14 +52,12 @@
}
Dart_EnterScope();
+ Builtin::SetNativeResolver(Builtin::kBuiltinLibrary);
+ Builtin::SetNativeResolver(Builtin::kIOLibrary);
- Dart_SetLibraryTagHandler(DartUtils::LibraryTagHandler);
Dart_Handle builtin_lib =
Builtin::LoadAndCheckLibrary(Builtin::kBuiltinLibrary);
CHECK_RESULT(builtin_lib);
- Dart_Handle io_lib =
- Builtin::LoadAndCheckLibrary(Builtin::kIOLibrary);
- CHECK_RESULT(io_lib);
Dart_Handle result;
« no previous file with comments | « runtime/bin/bin.gypi ('k') | runtime/bin/vmserviceio_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698