| Index: tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate b/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate
|
| index d48febb6e90dc77f0406739775d65c0a13a3dd99..032c8aeafc263a8386f97530cd633c9f7d9d8266 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate
|
| +++ b/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate
|
| @@ -69,7 +69,8 @@ $!MEMBERS
|
| 'offsetX is only supported on elements');
|
| }
|
| Element target = this.target;
|
| - return (this.client - target.getBoundingClientRect().topLeft).toInt();
|
| + var point = (this.client - target.getBoundingClientRect().topLeft);
|
| + return new Point(point.x.toInt(), point.y.toInt());
|
| }
|
| }
|
|
|
|
|