Index: Source/core/platform/animation/TimingFunction.h |
diff --git a/Source/core/platform/animation/TimingFunction.h b/Source/core/platform/animation/TimingFunction.h |
index 3394fffe9662c672d1c7ac6b5abf24c77401c332..51e4a9e15e0a5344f2f0d8cb4443db0f3f8281e6 100644 |
--- a/Source/core/platform/animation/TimingFunction.h |
+++ b/Source/core/platform/animation/TimingFunction.h |
@@ -88,7 +88,7 @@ private: |
// Forward declare so we can friend it below. Don't use in production code! |
-class ChainedTimingFunctionPrinter; |
+class ChainedTimingFunctionTestHelper; |
class CubicBezierTimingFunction : public TimingFunction { |
public: |
@@ -265,7 +265,7 @@ private: |
: m_min(min) |
, m_max(max) |
, m_timingFunction(timingFunction) |
- { } |
+ { ASSERT(timingFunction); } |
double max() const { return m_max; } |
double evaluate(double fraction, double accuracy) const |
@@ -281,9 +281,9 @@ private: |
double m_max; |
RefPtr<TimingFunction> m_timingFunction; |
- // Allow printing of our segments. Can be removed once |
+ // Allow PrintTo/operator== of the segments. Can be removed once |
// ChainedTimingFunction has a public API for segments. |
- friend class ChainedTimingFunctionPrinter; |
+ friend class ChainedTimingFunctionTestHelper; |
}; |
ChainedTimingFunction() |
@@ -294,9 +294,9 @@ private: |
Vector<Segment> m_segments; |
- // Allow printing of our segments. Can be removed once |
+ // Allow PrintTo/operator== of the segments. Can be removed once |
// ChainedTimingFunction has a public API for segments. |
- friend class ChainedTimingFunctionPrinter; |
+ friend class ChainedTimingFunctionTestHelper; |
}; |
} // namespace WebCore |