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

Unified Diff: tools/dom/templates/html/impl/impl_ClientRect.darttemplate

Issue 2211563002: Use Point<num> in dart:html for strong mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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: tools/dom/templates/html/impl/impl_ClientRect.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_ClientRect.darttemplate b/tools/dom/templates/html/impl/impl_ClientRect.darttemplate
index 22f115e3d1d6296892752a57e7033f0b3137baff..f52240a2c078209850d9660fea7265b4998136a4 100644
--- a/tools/dom/templates/html/impl/impl_ClientRect.darttemplate
+++ b/tools/dom/templates/html/impl/impl_ClientRect.darttemplate
@@ -89,11 +89,11 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS implements
another.y <= top + height;
}
- Point get topLeft => new Point(this.left, this.top);
- Point get topRight => new Point(this.left + this.width, this.top);
- Point get bottomRight => new Point(this.left + this.width,
+ Point get topLeft => new Point/*<num>*/(this.left, this.top);
+ Point get topRight => new Point/*<num>*/(this.left + this.width, this.top);
+ Point get bottomRight => new Point/*<num>*/(this.left + this.width,
this.top + this.height);
- Point get bottomLeft => new Point(this.left,
+ Point get bottomLeft => new Point/*<num>*/(this.left,
this.top + this.height);
$!MEMBERS}

Powered by Google App Engine
This is Rietveld 408576698