summaryrefslogtreecommitdiffstats
path: root/views/touchui
diff options
context:
space:
mode:
authoroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 21:56:50 +0000
committeroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 21:56:50 +0000
commit7a49443a9f183872c42c29dee0761285dd48ce59 (patch)
tree485623e204192cb3718f8fe541a4f3b006ed3389 /views/touchui
parentbe0af86bae56ca50bbeadffc0da1848d56f30995 (diff)
downloadchromium_src-7a49443a9f183872c42c29dee0761285dd48ce59.zip
chromium_src-7a49443a9f183872c42c29dee0761285dd48ce59.tar.gz
chromium_src-7a49443a9f183872c42c29dee0761285dd48ce59.tar.bz2
no need to call Close on scoped_ptr<Widget> with WIDGET_OWNS_NATIVE_WIDGET. This was casuing crash on exit.
BUG=none TEST=none Review URL: http://codereview.chromium.org/7799017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/touchui')
-rw-r--r--views/touchui/touch_selection_controller_impl.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/views/touchui/touch_selection_controller_impl.cc b/views/touchui/touch_selection_controller_impl.cc
index 0de16ce..eff3be6 100644
--- a/views/touchui/touch_selection_controller_impl.cc
+++ b/views/touchui/touch_selection_controller_impl.cc
@@ -96,7 +96,6 @@ class TouchSelectionControllerImpl::SelectionHandleView : public View {
}
virtual ~SelectionHandleView() {
- widget_->Close();
}
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE {
@@ -178,7 +177,6 @@ class TouchSelectionControllerImpl::TouchContextMenuView
}
virtual ~TouchContextMenuView() {
- widget_->Close();
}
virtual void SetVisible(bool visible) OVERRIDE {