Index: tools/dom/templates/html/impl/impl_Element.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate |
index c9ef54a745369da43327226491544df776d37b69..e89c912e0b15cb3aaa63e6ffaef0cacc755976db 100644 |
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate |
@@ -1272,13 +1272,13 @@ $else |
$endif |
bool foundAsParent = sameAsParent || parent.tagName == 'HTML'; |
if (current == null || sameAsParent) { |
- if (foundAsParent) return new Point(0, 0); |
+ if (foundAsParent) return new Point/*<num>*/(0, 0); |
throw new ArgumentError("Specified element is not a transitive offset " |
"parent of this element."); |
} |
Element parentOffset = current.offsetParent; |
Point p = Element._offsetToHelper(parentOffset, parent); |
- return new Point(p.x + current.offsetLeft, p.y + current.offsetTop); |
+ return new Point/*<num>*/(p.x + current.offsetLeft, p.y + current.offsetTop); |
} |
static HtmlDocument _parseDocument; |