Index: cc/input/top_controls_manager.h |
diff --git a/cc/input/top_controls_manager.h b/cc/input/top_controls_manager.h |
index 0ae1818a256df0bac9712487d10a8fd789e7190d..995577db01b81a912cbc0ca93a21b9cc71c06f8b 100644 |
--- a/cc/input/top_controls_manager.h |
+++ b/cc/input/top_controls_manager.h |
@@ -44,7 +44,7 @@ class CC_EXPORT TopControlsManager |
float TopControlsShownRatio() const; |
float TopControlsHeight() const; |
- bool has_animation() const { return top_controls_animation_; } |
+ bool has_animation() const { return !!top_controls_animation_; } |
AnimationDirection animation_direction() { return animation_direction_; } |
void UpdateTopControlsState(TopControlsState constraints, |