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

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

Issue 10540139: rename _lazy_port to _lazyPort. (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 f27fb2806dbaf67d6610136a1c87d87e2f119682..0d33dc7485f8b19050a3ea983aa189bfb4b5477b 100644
--- a/lib/isolate/frog/isolateimpl.dart
+++ b/lib/isolate/frog/isolateimpl.dart
@@ -38,12 +38,12 @@ void _fillStatics(context) native @"""
$static_init();
""";
-ReceivePort _lazy_port;
+ReceivePort _lazyPort;
ReceivePort get _port() {
- if (_lazy_port === null) {
- _lazy_port = new ReceivePort();
+ if (_lazyPort === null) {
+ _lazyPort = new ReceivePort();
}
- return _lazy_port;
+ return _lazyPort;
}
SendPort _spawnFunction(void topLevelFunction()) {
@@ -605,7 +605,7 @@ class _IsolateNatives {
static void _startIsolate2(Function topLevel, SendPort replyTo) {
_fillStatics(_globalState.currentContext);
- __port = new ReceivePort();
+ _lazyPort = new ReceivePort();
replyTo.send(_SPAWNED_SIGNAL, port.toSendPort());
topLevel();
}
« 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