Index: cc/input/top_controls_manager.cc |
diff --git a/cc/input/top_controls_manager.cc b/cc/input/top_controls_manager.cc |
index 79353f2b2d15e3f2e1f248560c0492e4d8426e21..18a93a55f89b085b08b8d415ff03ad3018d7237f 100644 |
--- a/cc/input/top_controls_manager.cc |
+++ b/cc/input/top_controls_manager.cc |
@@ -202,8 +202,7 @@ void TopControlsManager::SetupAnimation(AnimationDirection direction) { |
double start_time = |
(gfx::FrameTime::Now() - base::TimeTicks()).InMillisecondsF(); |
top_controls_animation_->AddKeyframe( |
- FloatKeyframe::Create(start_time, client_->ControlsTopOffset(), |
- scoped_ptr<TimingFunction>())); |
+ FloatKeyframe::Create(start_time, client_->ControlsTopOffset(), nullptr)); |
float max_ending_offset = |
(direction == SHOWING_CONTROLS ? 1 : -1) * top_controls_height_; |
top_controls_animation_->AddKeyframe( |