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

Unified Diff: client/touch/Momentum.dart

Issue 8666012: Partial fix to client breakage (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month 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
===================================================================
--- client/touch/Momentum.dart (revision 1770)
+++ client/touch/Momentum.dart (working copy)
@@ -380,8 +380,9 @@
num _customDecelerationFactor;
num _defaultDecelerationFactor;
- TimeoutMomentum(this._delegate, [this._defaultDecelerationFactor = 1])
- : _decelerating = false,
+ TimeoutMomentum(this._delegate, [defaultDecelerationFactor = 1])
+ : _defaultDecelerationFactor = defaultDecelerationFactor,
+ _decelerating = false,
_moves = new Queue<_Move>(),
physicsX = new SingleDimensionPhysics(),
physicsY = new SingleDimensionPhysics();

Powered by Google App Engine
This is Rietveld 408576698