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

Unified Diff: lib/html/src/Isolates.dart

Issue 11235029: Get rid of ===/!===. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/html/scripts/systemnative.py ('k') | lib/html/src/Measurement.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/src/Isolates.dart
diff --git a/lib/html/src/Isolates.dart b/lib/html/src/Isolates.dart
index b378b91d6ede233466c67af3b827fbb1f643f3ed..7fc027721e9ceaf24eecf46f227d0795cc8a7e24 100644
--- a/lib/html/src/Isolates.dart
+++ b/lib/html/src/Isolates.dart
@@ -160,7 +160,7 @@ class ReceivePortSync {
void receive(callback(var message)) {
_callback = callback;
- if (_listener === null) {
+ if (_listener == null) {
_listener = (Event e) {
var data = JSON.parse(_getPortSyncEventData(e));
var replyTo = data[0];
@@ -174,7 +174,7 @@ class ReceivePortSync {
void close() {
_portMap.remove(_portId);
- if (_listener !== null) window.on[_listenerName].remove(_listener);
+ if (_listener != null) window.on[_listenerName].remove(_listener);
}
SendPortSync toSendPort() {
« no previous file with comments | « lib/html/scripts/systemnative.py ('k') | lib/html/src/Measurement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698