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

Unified Diff: pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js

Issue 2757753002: Migrate DDC to the new analysis driver.
Patch Set: Created 3 years, 9 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: pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js
diff --git a/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js b/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js
index 5f718aa6b7b9f63abe49a3af3c4a65788f4873f2..2bc61414ab7b0b1da0e2c92ec6515c485f3b36d9 100644
--- a/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js
+++ b/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js
@@ -55,7 +55,7 @@ define(['dart_sdk'], function(dart_sdk) {
sunflower.seeds = core.int.parse(sunflower.slider.value);
sunflower.context.clearRect(0, 0, sunflower.MAX_D, sunflower.MAX_D);
for (let i = 0; i < dart.notNull(sunflower.seeds); i++) {
- let theta = i * painter.TAU / dart.notNull(sunflower.PHI);
+ let theta = i * dart.notNull(painter.TAU) / dart.notNull(sunflower.PHI);
let r = dart.notNull(math.sqrt(i)) * sunflower.SCALE_FACTOR;
let x = sunflower.centerX + r * dart.notNull(math.cos(theta));
let y = sunflower.centerY - r * dart.notNull(math.sin(theta));

Powered by Google App Engine
This is Rietveld 408576698