| Index: cc/input/top_controls_manager.cc
|
| diff --git a/cc/input/top_controls_manager.cc b/cc/input/top_controls_manager.cc
|
| index 1a961b50e9393697598bf83738dbe3684c56d1e4..5fe126726af170296cb3f0463ada0ad034cc1366 100644
|
| --- a/cc/input/top_controls_manager.cc
|
| +++ b/cc/input/top_controls_manager.cc
|
| @@ -176,8 +176,8 @@ void TopControlsManager::ResetAnimations() {
|
|
|
| void TopControlsManager::SetupAnimation(AnimationDirection direction) {
|
| DCHECK_NE(NO_ANIMATION, direction);
|
| - DCHECK_IMPLIES(direction == HIDING_CONTROLS, TopControlsShownRatio() > 0.f);
|
| - DCHECK_IMPLIES(direction == SHOWING_CONTROLS, TopControlsShownRatio() < 1.f);
|
| + DCHECK(direction != HIDING_CONTROLS || TopControlsShownRatio() > 0.f);
|
| + DCHECK(direction != SHOWING_CONTROLS || TopControlsShownRatio() < 1.f);
|
|
|
| if (top_controls_animation_ && animation_direction_ == direction)
|
| return;
|
|
|