Index: cc/active_animation.h |
diff --git a/cc/active_animation.h b/cc/active_animation.h |
index be195bd109d92b860561ab2965e9ecf65a69318f..413e9f2053197930e5bce6ce4979ca8f6276b020 100644 |
--- a/cc/active_animation.h |
+++ b/cc/active_animation.h |
@@ -66,7 +66,7 @@ public: |
double startTime() const { return m_startTime; } |
void setStartTime(double monotonicTime) { m_startTime = monotonicTime; } |
- bool hasSetStartTime() const { return m_startTime; } |
+ bool hasSetStartTime() const { return !!m_startTime; } |
double timeOffset() const { return m_timeOffset; } |
void setTimeOffset(double monotonicTime) { m_timeOffset = monotonicTime; } |