Index: cc/animation/element_animations.h |
diff --git a/cc/animation/element_animations.h b/cc/animation/element_animations.h |
index 7a9cd93c83197809e9a71a7149922481d60b9d41..90090cfebfdb36f7acfe80e790436248e6b7e3d3 100644 |
--- a/cc/animation/element_animations.h |
+++ b/cc/animation/element_animations.h |
@@ -58,10 +58,10 @@ class CC_EXPORT ElementAnimations : public AnimationDelegate, |
void LayerUnregistered(int layer_id, LayerTreeType tree_type); |
bool has_active_value_observer_for_testing() const { |
- return active_value_observer_; |
+ return !!active_value_observer_; |
} |
bool has_pending_value_observer_for_testing() const { |
- return pending_value_observer_; |
+ return !!pending_value_observer_; |
} |
void AddPlayer(AnimationPlayer* player); |