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

Unified Diff: lib/dom/templates/html/dartium/impl_Window.darttemplate

Issue 10166024: Browser compat for window.requestAnimationFrame (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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/dom/templates/html/dartium/impl_Window.darttemplate
diff --git a/lib/dom/templates/html/dartium/impl_Window.darttemplate b/lib/dom/templates/html/dartium/impl_Window.darttemplate
index 267d49604c76da9dcc50b03ab8973b19e2a0daa1..0713050ab288c22451da77bfbd0059874961dfc3 100644
--- a/lib/dom/templates/html/dartium/impl_Window.darttemplate
+++ b/lib/dom/templates/html/dartium/impl_Window.darttemplate
@@ -10,5 +10,8 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
_addMeasurementFrameCallback(callback);
}
+ int requestAnimationFrame(RequestAnimationFrameCallback callback) =>
+ webkitRequestAnimationFrame(callback);
+
$!MEMBERS
}
« no previous file with comments | « lib/dom/templates/dom/frog/impl_DOMWindow.darttemplate ('k') | lib/dom/templates/html/frog/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698