Index: Source/core/platform/animation/TimingFunction.h |
diff --git a/Source/core/platform/animation/TimingFunction.h b/Source/core/platform/animation/TimingFunction.h |
index 39ce2b40bfc6523cd492ae701eefefc41c698288..71608fdbf6528c6c451199672159b5094b9b0c0c 100644 |
--- a/Source/core/platform/animation/TimingFunction.h |
+++ b/Source/core/platform/animation/TimingFunction.h |
@@ -274,7 +274,7 @@ public: |
RELEASE_ASSERT_WITH_MESSAGE(fraction >= 0 && fraction <= 1, "Web Animations not yet implemented: Timing function behavior outside the range [0, 1] is not yet specified"); |
ASSERT(!m_segments.isEmpty()); |
ASSERT(m_segments.last().max() == 1); |
- const Segment* segment; |
+ const Segment* segment = 0; |
Inactive
2013/10/29 13:56:20
Maybe we could rewrite this so that it looks less
|
for (size_t i = 0; i < m_segments.size(); ++i) { |
segment = &m_segments[i]; |
if (fraction < segment->max()) |