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

Unified Diff: sdk/lib/_internal/lib/isolate_patch.dart

Issue 152633002: Add Capability implementation to dart2js libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove toString, runtimeType. Created 6 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
« no previous file with comments | « sdk/lib/_internal/lib/isolate_helper.dart ('k') | sdk/lib/_internal/lib/js_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/isolate_patch.dart
diff --git a/sdk/lib/_internal/lib/isolate_patch.dart b/sdk/lib/_internal/lib/isolate_patch.dart
index 4ad59ca943fd54b364e716ca3dac97479a2360eb..09b79553abb1d1787346d0d78d9af8f98e5d8e9b 100644
--- a/sdk/lib/_internal/lib/isolate_patch.dart
+++ b/sdk/lib/_internal/lib/isolate_patch.dart
@@ -4,11 +4,12 @@
// Patch file for the dart:isolate library.
-import 'dart:_isolate_helper' show IsolateNatives,
- ReceivePortImpl,
- RawReceivePortImpl,
+import 'dart:_isolate_helper' show CapabilityImpl,
CloseToken,
- JsIsolateSink;
+ IsolateNatives,
+ JsIsolateSink,
+ ReceivePortImpl,
+ RawReceivePortImpl;
patch class Isolate {
patch static Future<Isolate> spawn(void entryPoint(message), var message) {
@@ -56,7 +57,5 @@ patch class RawReceivePort {
}
patch class Capability {
- patch factory Capability() {
- throw new UnimplementedError();
- }
+ patch factory Capability() = CapabilityImpl;
}
« no previous file with comments | « sdk/lib/_internal/lib/isolate_helper.dart ('k') | sdk/lib/_internal/lib/js_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698