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

Unified Diff: lib/isolate/frog/isolateimpl.dart

Issue 10626016: Remove Dart body for a native method. (Closed) Base URL: https://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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/isolate/frog/isolateimpl.dart
diff --git a/lib/isolate/frog/isolateimpl.dart b/lib/isolate/frog/isolateimpl.dart
index 0d33dc7485f8b19050a3ea983aa189bfb4b5477b..54fd64e98fa9d8a30cabbb9915dc73850c818aa9 100644
--- a/lib/isolate/frog/isolateimpl.dart
+++ b/lib/isolate/frog/isolateimpl.dart
@@ -140,9 +140,13 @@ class _Manager {
$globalThis.onmessage = function (e) {
_IsolateNatives._processWorkerMessage(this.mainManager, e);
}
+ """;
+ /*: TODO: check that _processWorkerMessage is not discarded while treeshaking.
""" {
_IsolateNatives._processWorkerMessage(null, null);
}
+ */
+
/** Close the worker running this code if all isolates are done. */
void maybeCloseWorker() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698