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

Unified Diff: test/codegen/expect/domtest.js

Issue 1355893003: Rewire DDC to use the analyzer task model (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix for identifiers Created 5 years, 3 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
Index: test/codegen/expect/domtest.js
diff --git a/test/codegen/expect/domtest.js b/test/codegen/expect/domtest.js
index aad27627901b6530ea858207e6e99698efb02598..456eabb141c4cdb7e92b2c2f03b5e4c4c69d915b 100644
--- a/test/codegen/expect/domtest.js
+++ b/test/codegen/expect/domtest.js
@@ -7,11 +7,11 @@ dart_library.library('domtest', null, /* Imports */[
'use strict';
let dartx = dart.dartx;
function testNativeIndexers() {
- let nodes = dom.document.querySelector('body').childNodes;
+ let nodes = dart.dcall(dom.document.querySelector, 'body').childNodes;
for (let i = 0; dart.notNull(i) < dart.notNull(nodes.length); i = dart.notNull(i) + 1) {
let old = nodes[i];
- nodes[i] = dom.document.createElement('div');
- core.print(dart.equals(nodes[i], old));
+ nodes[i] = dart.dcall(dom.document.createElement, 'div');
+ dart.dcall(core.print, dart.equals(nodes[i], old));
}
}
dart.fn(testNativeIndexers);

Powered by Google App Engine
This is Rietveld 408576698