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

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

Issue 1173403004: Changed to use JSInterop (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Re-gen'd somehow diffs stopped showing up in CL Created 5 years, 5 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 | « tools/dom/templates/html/impl/impl_Touch.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Window.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Window.darttemplate b/tools/dom/templates/html/impl/impl_Window.darttemplate
index 81ee2b1b29856b60fdf1fcf52a18b4f0b29351a4..b119a08ea3bd85b3b5d551054abe0f64149dedf8 100644
--- a/tools/dom/templates/html/impl/impl_Window.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Window.darttemplate
@@ -296,19 +296,19 @@ $if DART2JS
$else
@DomName('Window.pageXOffset')
@DocsEditable()
- int get pageXOffset => _blink.BlinkWindow.instance.pageXOffset_Getter_(this).round();
+ int get pageXOffset => _blink.BlinkWindow.instance.pageXOffset_Getter_(unwrap_jso(this)).round();
@DomName('Window.pageYOffset')
@DocsEditable()
- int get pageYOffset => _blink.BlinkWindow.instance.pageYOffset_Getter_(this).round();
+ int get pageYOffset => _blink.BlinkWindow.instance.pageYOffset_Getter_(unwrap_jso(this)).round();
@DomName('Window.scrollX')
@DocsEditable()
- int get scrollX => _blink.BlinkWindow.instance.scrollX_Getter_(this).round();
+ int get scrollX => _blink.BlinkWindow.instance.scrollX_Getter_(unwrap_jso(this)).round();
@DomName('Window.scrollY')
@DocsEditable()
- int get scrollY => _blink.BlinkWindow.instance.scrollY_Getter_(this).round();
+ int get scrollY => _blink.BlinkWindow.instance.scrollY_Getter_(unwrap_jso(this)).round();
$endif
}
« no previous file with comments | « tools/dom/templates/html/impl/impl_Touch.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698