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

Unified Diff: runtime/bin/eventhandler_patch.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month 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 | « runtime/bin/builtin.dart ('k') | runtime/bin/process_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/eventhandler_patch.dart
diff --git a/runtime/bin/eventhandler_patch.dart b/runtime/bin/eventhandler_patch.dart
index f1e3a25c0ee059d227b4adb8ecd6e7df85cddfe6..8fb487a6b6e29073043bc66075d66253f9f2048b 100644
--- a/runtime/bin/eventhandler_patch.dart
+++ b/runtime/bin/eventhandler_patch.dart
@@ -4,7 +4,7 @@
patch class _EventHandler {
/* patch */ static void _start() {
- if (_eventHandler === null) {
+ if (_eventHandler == null) {
_eventHandler = new _EventHandlerImpl();
_eventHandler._start();
}
@@ -13,7 +13,7 @@ patch class _EventHandler {
/* patch */ static _sendData(Object sender,
ReceivePort receivePort,
int data) {
- if (_eventHandler !== null) {
+ if (_eventHandler != null) {
_eventHandler._sendData(sender, receivePort, data);
}
}
« no previous file with comments | « runtime/bin/builtin.dart ('k') | runtime/bin/process_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698