| Index: views/touchui/touch_selection_controller_impl.cc
|
| diff --git a/views/touchui/touch_selection_controller_impl.cc b/views/touchui/touch_selection_controller_impl.cc
|
| index eff3be63e195a3631f866e9a43184484bd63dfad..a34b6becf097497ac9e3270643ed1b98d65adef3 100644
|
| --- a/views/touchui/touch_selection_controller_impl.cc
|
| +++ b/views/touchui/touch_selection_controller_impl.cc
|
| @@ -311,6 +311,7 @@ void TouchSelectionControllerImpl::SelectionHandleDragged(
|
| // We do not want to show the context menu while dragging.
|
| HideContextMenu();
|
| context_menu_timer_.Start(
|
| + FROM_HERE,
|
| base::TimeDelta::FromMilliseconds(kContextMenuTimoutMs),
|
| this,
|
| &TouchSelectionControllerImpl::ContextMenuTimerFired);
|
| @@ -387,6 +388,7 @@ void TouchSelectionControllerImpl::UpdateContextMenu(const gfx::Point& p1,
|
| // If there is selection, we restart the context menu timer.
|
| if (p1 != p2) {
|
| context_menu_timer_.Start(
|
| + FROM_HERE,
|
| base::TimeDelta::FromMilliseconds(kContextMenuTimoutMs),
|
| this,
|
| &TouchSelectionControllerImpl::ContextMenuTimerFired);
|
|
|