| Index: ui/views/touchui/touch_selection_controller_impl.cc
|
| diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc
|
| index b4f0508e5c622eb01622f86ec8db87f8b61010e0..93fb4bcd242aef61549708a3b071980d93bd5fe6 100644
|
| --- a/ui/views/touchui/touch_selection_controller_impl.cc
|
| +++ b/ui/views/touchui/touch_selection_controller_impl.cc
|
| @@ -96,7 +96,7 @@ class TouchSelectionControllerImpl::SelectionHandleView : public View {
|
| widget_->SetAlwaysOnTop(true);
|
|
|
| // We are owned by the TouchSelectionController.
|
| - set_parent_owned(false);
|
| + set_owned_by_client();
|
| }
|
|
|
| virtual ~SelectionHandleView() {
|
| @@ -207,7 +207,7 @@ class TouchSelectionControllerImpl::TouchContextMenuView
|
| widget_->SetAlwaysOnTop(true);
|
|
|
| // We are owned by the TouchSelectionController.
|
| - set_parent_owned(false);
|
| + set_owned_by_client();
|
| SetLayoutManager(new BoxLayout(BoxLayout::kHorizontal, kContextMenuPadding,
|
| kContextMenuPadding, kContextMenuPadding));
|
| }
|
|
|