| Index: Source/WebCore/svg/animation/SMILTime.h
|
| ===================================================================
|
| --- Source/WebCore/svg/animation/SMILTime.h (revision 132837)
|
| +++ Source/WebCore/svg/animation/SMILTime.h (working copy)
|
| @@ -29,13 +29,14 @@
|
| #if ENABLE(SVG)
|
|
|
| #include <algorithm>
|
| +#include <wtf/MathExtras.h>
|
|
|
| namespace WebCore {
|
|
|
| class SMILTime {
|
| public:
|
| SMILTime() : m_time(0) { }
|
| - SMILTime(double time) : m_time(time) { }
|
| + SMILTime(double time) : m_time(time) { ASSERT(!isnan(time)); }
|
| SMILTime(const SMILTime& o) : m_time(o.m_time) { }
|
|
|
| static SMILTime unresolved() { return unresolvedValue; }
|
|
|