Title: [93328] trunk/Source/WebCore
- Revision
- 93328
- Author
- [email protected]
- Date
- 2011-08-18 11:51:41 -0700 (Thu, 18 Aug 2011)
Log Message
Fix "missing return" gcc warning in ScrollAnimatorNone
https://bugs.webkit.org/show_bug.cgi?id=66480
Reviewed by Tony Chang.
* platform/ScrollAnimatorNone.cpp:
(WebCore::ScrollAnimatorNone::PerAxisData::curveAt):
(WebCore::ScrollAnimatorNone::PerAxisData::curveDerivativeAt):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (93327 => 93328)
--- trunk/Source/WebCore/ChangeLog 2011-08-18 18:49:21 UTC (rev 93327)
+++ trunk/Source/WebCore/ChangeLog 2011-08-18 18:51:41 UTC (rev 93328)
@@ -1,3 +1,14 @@
+2011-08-18 Nico Weber <[email protected]>
+
+ Fix "missing return" gcc warning in ScrollAnimatorNone
+ https://bugs.webkit.org/show_bug.cgi?id=66480
+
+ Reviewed by Tony Chang.
+
+ * platform/ScrollAnimatorNone.cpp:
+ (WebCore::ScrollAnimatorNone::PerAxisData::curveAt):
+ (WebCore::ScrollAnimatorNone::PerAxisData::curveDerivativeAt):
+
2011-08-18 James Simonsen <[email protected]>
Revalidate expired resources if they're requested after the initial document load
Modified: trunk/Source/WebCore/platform/ScrollAnimatorNone.cpp (93327 => 93328)
--- trunk/Source/WebCore/platform/ScrollAnimatorNone.cpp 2011-08-18 18:49:21 UTC (rev 93327)
+++ trunk/Source/WebCore/platform/ScrollAnimatorNone.cpp 2011-08-18 18:51:41 UTC (rev 93328)
@@ -98,6 +98,7 @@
t -= 2.625 / 2.75;
return 7.5625 * t * t + .984375;
}
+ return 0;
}
double ScrollAnimatorNone::PerAxisData::attackCurve(Curve curve, double deltaTime, double curveT, double startPosition, double attackPosition)
@@ -126,6 +127,7 @@
case Bounce:
return t;
}
+ return 0;
}
ScrollAnimatorNone::PerAxisData::PerAxisData(ScrollAnimatorNone* parent, float* currentPosition)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes