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

Unified Diff: tools/dom/templates/html/impl/impl_DOMRectReadOnly.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_DOMRectReadOnly.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_DOMRectReadOnly.darttemplate b/tools/dom/templates/html/impl/impl_DOMRectReadOnly.darttemplate
index b17b5bc4f95549e2b1526308c29d57dcb03e40a7..e9bf8a6d3d1f77f28d1b0e7388ce989cd831605a 100644
--- a/tools/dom/templates/html/impl/impl_DOMRectReadOnly.darttemplate
+++ b/tools/dom/templates/html/impl/impl_DOMRectReadOnly.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}
« no previous file with comments | « tools/dom/templates/html/impl/impl_ClientRect.darttemplate ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698