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

Unified Diff: samples/third_party/dromaeo/tests/dom-traverse-html.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
Index: samples/third_party/dromaeo/tests/dom-traverse-html.dart
diff --git a/samples/third_party/dromaeo/tests/dom-traverse-html.dart b/samples/third_party/dromaeo/tests/dom-traverse-html.dart
index 916aa0ae78319ce910cc30d47187473ade86015c..c9d32a3134b914c9d5bb9cae84a57a5659c489d1 100644
--- a/samples/third_party/dromaeo/tests/dom-traverse-html.dart
+++ b/samples/third_party/dromaeo/tests/dom-traverse-html.dart
@@ -38,7 +38,7 @@ void main() {
for (int i = 0; i < num; i++) {
for (int j = 0; j < nl; j++) {
Node cur = nodes[j];
- while (cur !== null) {
+ while (cur != null) {
cur = cur.$dom_firstChild;
}
ret = cur;
@@ -52,7 +52,7 @@ void main() {
for (int i = 0; i < num; i++) {
for (int j = 0; j < nl; j++) {
Node cur = nodes[j];
- while (cur !== null) {
+ while (cur != null) {
cur = cur.$dom_lastChild;
}
ret = cur;
@@ -62,7 +62,7 @@ void main() {
.test('nextSibling', () {
for (int i = 0; i < num * 2; i++) {
Node cur = document.body.$dom_firstChild;
- while (cur !== null) {
+ while (cur != null) {
cur = cur.nextNode;
}
ret = cur;
@@ -71,7 +71,7 @@ void main() {
.test('previousSibling', () {
for (int i = 0; i < num * 2; i++) {
Node cur = document.body.$dom_lastChild;
- while (cur !== null) {
+ while (cur != null) {
cur = cur.previousNode;
}
ret = cur;
« no previous file with comments | « samples/third_party/dromaeo/common/JSON.dart ('k') | samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698