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

Unified Diff: client/base/AnimationScheduler.dart

Issue 8231031: Check for compile-time constants in DartCompiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: All tests pass but one junit test Created 9 years, 2 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: client/base/AnimationScheduler.dart
diff --git a/client/base/AnimationScheduler.dart b/client/base/AnimationScheduler.dart
index f10f938ec3137b8e28db29db592908993e99be8b..02605e4369a6dadb782a21401b39493738dc2ca4 100644
--- a/client/base/AnimationScheduler.dart
+++ b/client/base/AnimationScheduler.dart
@@ -33,9 +33,9 @@ class CallbackData {
// TODO(jacobr): use window.requestAnimationFrame when it is available and
// 60fps for the current browser.
class AnimationScheduler {
- static final FRAMES_PER_SECOND = 60;
- static final MS_PER_FRAME = 1000 ~/ FRAMES_PER_SECOND;
- static final USE_INTERVALS = false;
+ static final int FRAMES_PER_SECOND = 60;
+ static final int MS_PER_FRAME = 1000 ~/ FRAMES_PER_SECOND;
+ static final bool USE_INTERVALS = false;
/** List of callbacks to be executed next animation frame. */
List<CallbackData> _callbacks;

Powered by Google App Engine
This is Rietveld 408576698