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

Unified Diff: samples/swarm/swarm_ui_lib/touch/FxUtil.dart

Issue 12049097: Adding supported checks for CssMatrix and Point. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698