| Index: samples/swarm/swarm_ui_lib/touch/FxUtil.dart
|
| diff --git a/samples/swarm/swarm_ui_lib/touch/FxUtil.dart b/samples/swarm/swarm_ui_lib/touch/FxUtil.dart
|
| index 858eb377427cb9558af44505fb2af49adfd15493..b3858628604eca39f3b6b48528b4428b6dcc648b 100644
|
| --- a/samples/swarm/swarm_ui_lib/touch/FxUtil.dart
|
| +++ b/samples/swarm/swarm_ui_lib/touch/FxUtil.dart
|
| @@ -67,11 +67,11 @@ class FxUtil {
|
| * changed.
|
| */
|
| static Coordinate computeRelativePosition(Element element, Element target) {
|
| - final testPoint = new Point(0, 0);
|
| + final testPoint = new DomPoint(0, 0);
|
| final pagePoint =
|
| - window.webkitConvertPointFromNodeToPage(element, testPoint);
|
| + window.convertPointFromNodeToPage(element, testPoint);
|
| final pointRelativeToTarget =
|
| - window.webkitConvertPointFromPageToNode(target, pagePoint);
|
| + window.convertPointFromPageToNode(target, pagePoint);
|
| return new Coordinate(pointRelativeToTarget.x, pointRelativeToTarget.y);
|
| }
|
|
|
|
|