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

Unified Diff: tools/dom/templates/html/impl/impl_Touch.darttemplate

Issue 1832713002: Optimize dartium dart:html bindings so real world application performance is acceptable. Improves d… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: update cached patches Created 4 years, 9 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_Touch.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Touch.darttemplate b/tools/dom/templates/html/impl/impl_Touch.darttemplate
index bab04a5de830d935c37057eb587fbf27bdf2dc98..889485d9e363221ae8fbe65fdc3e1889a8320589 100644
--- a/tools/dom/templates/html/impl/impl_Touch.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Touch.darttemplate
@@ -20,14 +20,14 @@ $if DART2JS
int get __radiusX => JS('num', '#.radiusX', this).round();
int get __radiusY => JS('num', '#.radiusY', this).round();
$else
- int get __clientX => _blink.BlinkTouch.instance.clientX_Getter_(unwrap_jso(this)).round();
- int get __clientY => _blink.BlinkTouch.instance.clientY_Getter_(unwrap_jso(this)).round();
- int get __screenX => _blink.BlinkTouch.instance.screenX_Getter_(unwrap_jso(this)).round();
- int get __screenY => _blink.BlinkTouch.instance.screenY_Getter_(unwrap_jso(this)).round();
- int get __pageX => _blink.BlinkTouch.instance.pageX_Getter_(unwrap_jso(this)).round();
- int get __pageY => _blink.BlinkTouch.instance.pageY_Getter_(unwrap_jso(this)).round();
- int get __radiusX => _blink.BlinkTouch.instance.radiusX_Getter_(unwrap_jso(this)).round();
- int get __radiusY => _blink.BlinkTouch.instance.radiusY_Getter_(unwrap_jso(this)).round();
+ int get __clientX => _blink.BlinkTouch.instance.clientX_Getter_(this).round();
+ int get __clientY => _blink.BlinkTouch.instance.clientY_Getter_(this).round();
+ int get __screenX => _blink.BlinkTouch.instance.screenX_Getter_(this).round();
+ int get __screenY => _blink.BlinkTouch.instance.screenY_Getter_(this).round();
+ int get __pageX => _blink.BlinkTouch.instance.pageX_Getter_(this).round();
+ int get __pageY => _blink.BlinkTouch.instance.pageY_Getter_(this).round();
+ int get __radiusX => _blink.BlinkTouch.instance.radiusX_Getter_(this).round();
+ int get __radiusY => _blink.BlinkTouch.instance.radiusY_Getter_(this).round();
$endif
@DomName('Touch.clientX')

Powered by Google App Engine
This is Rietveld 408576698