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

Unified Diff: lib/html/templates/html/dart2js/impl_Window.darttemplate

Issue 10990013: Reapply webkitRequestAimationFrame->requestAnimationFrame with fix for dartium (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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: lib/html/templates/html/dart2js/impl_Window.darttemplate
===================================================================
--- lib/html/templates/html/dart2js/impl_Window.darttemplate (revision 12823)
+++ lib/html/templates/html/dart2js/impl_Window.darttemplate (working copy)
@@ -91,10 +91,9 @@
}
int _requestAnimationFrame(RequestAnimationFrameCallback callback)
- native 'requestAnimationFrame';
+ native 'webkitRequestAnimationFrame';
blois 2012/09/25 17:52:28 This should be requestAnimationFrame.
- void _cancelAnimationFrame(int id)
- native 'cancelAnimationFrame';
+ void _cancelAnimationFrame(int id) native 'webkitCancelAnimationFrame';
_ensureRequestAnimationFrame() native '''
if (this.requestAnimationFrame && this.cancelAnimationFrame) return;

Powered by Google App Engine
This is Rietveld 408576698