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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 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
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index c99f3649708c377b5e82ad957a87638a825dab8c..368f6297b0c765e2e71f69b9079bf935b4111fbc 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -766,7 +766,7 @@ DART_EXPORT Dart_Handle Dart_NewSendPort(Dart_Port port_id) {
// TODO(turnidge): Consider adding a helper function to make
// function resolution by class name and function name more concise.
const Function& function = Function::Handle(
- Resolver::ResolveStatic(Library::Handle(Library::CoreLibrary()),
+ Resolver::ResolveStatic(Library::Handle(Library::IsolateLibrary()),
class_name,
function_name,
kNumArguments,
@@ -790,7 +790,7 @@ DART_EXPORT Dart_Handle Dart_GetReceivePort(Dart_Port port_id) {
const int kNumArguments = 1;
const Array& kNoArgumentNames = Array::Handle();
const Function& function = Function::Handle(
- Resolver::ResolveStatic(Library::Handle(Library::CoreLibrary()),
+ Resolver::ResolveStatic(Library::Handle(Library::IsolateLibrary()),
class_name,
function_name,
kNumArguments,

Powered by Google App Engine
This is Rietveld 408576698