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

Unified Diff: client/touch/Momentum.dart

Issue 8786002: Check that interface constructors and default class constructors are compatible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Check that types of constructors parameters are identical Created 9 years 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/touch/Momentum.dart
diff --git a/client/touch/Momentum.dart b/client/touch/Momentum.dart
index 20844ea90780b91e6a2afe58dead9be4cc862af9..d46665fbb1565c6b776d5a6ad08ed99cd29a8bdd 100644
--- a/client/touch/Momentum.dart
+++ b/client/touch/Momentum.dart
@@ -380,7 +380,7 @@ class TimeoutMomentum implements Momentum {
num _customDecelerationFactor;
num _defaultDecelerationFactor;
- TimeoutMomentum(this._delegate, [defaultDecelerationFactor = 1])
+ TimeoutMomentum(this._delegate, [num defaultDecelerationFactor = 1])
: _defaultDecelerationFactor = defaultDecelerationFactor,
_decelerating = false,
_moves = new Queue<_Move>(),

Powered by Google App Engine
This is Rietveld 408576698