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

Unified Diff: Source/platform/scroll/ScrollAnimatorNone.h

Issue 244253002: Avoid useless initialization in ScrollAnimatorNone::PerAxisData::animateScroll() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move code to a new inline function Created 6 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 | « no previous file | Source/platform/scroll/ScrollAnimatorNone.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/ScrollAnimatorNone.h
diff --git a/Source/platform/scroll/ScrollAnimatorNone.h b/Source/platform/scroll/ScrollAnimatorNone.h
index d1cbeb434a1f9b64f54f90a3549a4930503737b1..a72b636044552624152f6dd3f948c9077c2ba89f 100644
--- a/Source/platform/scroll/ScrollAnimatorNone.h
+++ b/Source/platform/scroll/ScrollAnimatorNone.h
@@ -111,6 +111,8 @@ protected:
static double attackArea(Curve, double startT, double endT);
static double releaseArea(Curve, double startT, double endT);
+ double newScrollAnimationPosition(double deltaTime);
+
float* m_currentPosition;
double m_currentVelocity;
« no previous file with comments | « no previous file | Source/platform/scroll/ScrollAnimatorNone.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698