| Index: ash/shelf/shelf_view.cc
|
| diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc
|
| index ffa1141d40b76bf2f796cedc0567a751690ef307..9e9a173a39607b635b2e96dd43fd2af10713c951 100644
|
| --- a/ash/shelf/shelf_view.cc
|
| +++ b/ash/shelf/shelf_view.cc
|
| @@ -1619,8 +1619,6 @@ void ShelfView::ShelfItemChanged(int model_index, const ShelfItem& old_item) {
|
| view_model_->Add(new_view, model_index);
|
| view_model_->set_ideal_bounds(model_index, old_ideal_bounds);
|
| new_view->SetBoundsRect(old_view->bounds());
|
| - if (overflow_button_ && overflow_button_->visible())
|
| - AnimateToIdealBounds();
|
| return;
|
| }
|
|
|
| @@ -1869,7 +1867,7 @@ bool ShelfView::IsRepostEvent(const ui::Event& event) {
|
| return false;
|
|
|
| base::TimeDelta delta =
|
| - base::TimeDelta(event.time_stamp() - closing_event_time_);
|
| + (event.time_stamp() - base::TimeTicks()) - closing_event_time_;
|
| closing_event_time_ = base::TimeDelta();
|
| // If the current (press down) event is a repost event, the time stamp of
|
| // these two events should be the same.
|
|
|