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

Unified Diff: lib/src/util/dart.dart

Issue 1085883003: Make IsolateWrapper compatible with the 1.11 isolate API changes. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 8 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 | « lib/src/runner/loader.dart ('k') | lib/src/util/isolate_wrapper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/util/dart.dart
diff --git a/lib/src/util/dart.dart b/lib/src/util/dart.dart
index c62bacbfd2f188dee6d2196fe71d6082bcccf1ae..b487af9f90da6c755cc46dff57342c90a7ffb270 100644
--- a/lib/src/util/dart.dart
+++ b/lib/src/util/dart.dart
@@ -26,7 +26,7 @@ import 'remote_exception.dart';
///
/// [packageRoot] controls the package root of the isolate. It may be either a
/// [String] or a [Uri].
-Future<Isolate> runInIsolate(String code, message, {packageRoot}) {
+Future<IsolateWrapper> runInIsolate(String code, message, {packageRoot}) {
// TODO(nweiz): load code from a local server rather than from a file.
var dir = createTempDir();
var dartPath = p.join(dir, 'runInIsolate.dart');
« no previous file with comments | « lib/src/runner/loader.dart ('k') | lib/src/util/isolate_wrapper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698