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

Unified Diff: samples/ui_lib/base/AnimationScheduler.dart

Issue 10067009: Migrate the samples to one-argument version of requestAnimationFrame and re-enable the test. (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
« no previous file with comments | « samples/total/client/InnerMenuView.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/base/AnimationScheduler.dart
diff --git a/samples/ui_lib/base/AnimationScheduler.dart b/samples/ui_lib/base/AnimationScheduler.dart
index 73d7381ae1b0c5ba428e45034e76478ab0539cd2..80b15288bb6b2d1fa616d597f57d98697bcd787c 100644
--- a/samples/ui_lib/base/AnimationScheduler.dart
+++ b/samples/ui_lib/base/AnimationScheduler.dart
@@ -97,7 +97,7 @@ class AnimationScheduler {
try {
// TODO(jacobr): passing in document should not be required.
_intervalId = window.webkitRequestAnimationFrame(
- (int ignored) { _step(); }, document);
+ (int ignored) { _step(); });
// TODO(jacobr) fix this odd type error.
} catch (var e) {
_webkitAnimationFrameMaybeAvailable = false;
« no previous file with comments | « samples/total/client/InnerMenuView.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698