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

Unified Diff: lib/runtime/dart/html_common.js

Issue 1752193002: Add a few more known non-null cases (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 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
« no previous file with comments | « lib/runtime/dart/html.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/html_common.js
diff --git a/lib/runtime/dart/html_common.js b/lib/runtime/dart/html_common.js
index 1cade6f39186248f0b53702e3f5bc96d6dad135c..9ffd6d4227ff1c3ecc0bae3285e62338bd038b85 100644
--- a/lib/runtime/dart/html_common.js
+++ b/lib/runtime/dart/html_common.js
@@ -281,7 +281,7 @@ dart_library.library('dart/html_common', null, /* Imports */[
findSlot(value) {
let length = this.values[dartx.length];
for (let i = 0; i < dart.notNull(length); i++) {
- if (dart.notNull(core.identical(this.values[dartx.get](i), value))) return i;
+ if (core.identical(this.values[dartx.get](i), value)) return i;
}
this.values[dartx.add](value);
this.copies[dartx.add](null);
« no previous file with comments | « lib/runtime/dart/html.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698