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

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

Issue 1042943003: fixes private named constructors (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
« no previous file with comments | « lib/runtime/dart/isolate.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/math.js
diff --git a/lib/runtime/dart/math.js b/lib/runtime/dart/math.js
index bd18fcb3366b1784d6bef2f21544ea03a0d8ac7a..c30b3e880bf561818b15f3ae7c43988b71def522 100644
--- a/lib/runtime/dart/math.js
+++ b/lib/runtime/dart/math.js
@@ -143,7 +143,7 @@ var math;
this.height = dart.as(height['<'](0) ? dart.notNull(height['unary-']()) * 0 : height, T);
super._RectangleBase();
}
- Rectangle$fromPoints(a, b) {
+ fromPoints(a, b) {
let left = dart.as(min(a.x, b.x), T);
let width = dart.as(core.num['-'](max(a.x, b.x), left), T);
let top = dart.as(min(a.y, b.y), T);
@@ -166,7 +166,7 @@ var math;
this[_height] = dart.as(height['<'](0) ? _clampToZero(height) : height, T);
super._RectangleBase();
}
- MutableRectangle$fromPoints(a, b) {
+ fromPoints(a, b) {
let left = dart.as(min(a.x, b.x), T);
let width = dart.as(core.num['-'](max(a.x, b.x), left), T);
let top = dart.as(min(a.y, b.y), T);
« no previous file with comments | « lib/runtime/dart/isolate.js ('k') | lib/runtime/dart/typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698