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

Unified Diff: lib/src/multiplexport.dart

Issue 955053002: adding codereview file, formatting, adding gitignore (Closed) Base URL: https://github.com/dart-lang/isolate.git@master
Patch Set: Created 5 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: lib/src/multiplexport.dart
diff --git a/lib/src/multiplexport.dart b/lib/src/multiplexport.dart
index d0c2f67d3f72b0e3ff591311ca4736e2e3404b3c..96066e0590dc5cf1c675946a6be55dfcf95b7ff3 100644
--- a/lib/src/multiplexport.dart
+++ b/lib/src/multiplexport.dart
@@ -46,7 +46,9 @@ class _MultiplexRawReceivePort implements RawReceivePort {
SendPort get sendPort => _multiplexer._createSendPort(_id);
- void _invokeHandler(message) { _handler(message); }
+ void _invokeHandler(message) {
+ _handler(message);
+ }
}
class _MultiplexSendPort implements SendPort {
@@ -89,7 +91,7 @@ class RawReceivePortMultiplexer {
_MultiplexRawReceivePort receivePort = _map[id];
// If the receive port is closed, messages are dropped, just as for
// the normal ReceivePort.
- if (receivePort == null) return; // Port closed.
+ if (receivePort == null) return; // Port closed.
Lasse Reichstein Nielsen 2015/02/26 10:59:15 Two spaces before //.
receivePort._invokeHandler(message);
}

Powered by Google App Engine
This is Rietveld 408576698