summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/menu_host.cc')
-rw-r--r--views/controls/menu/menu_host.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/views/controls/menu/menu_host.cc b/views/controls/menu/menu_host.cc
index 075fa82..740cc81 100644
--- a/views/controls/menu/menu_host.cc
+++ b/views/controls/menu/menu_host.cc
@@ -48,9 +48,6 @@ void MenuHost::ShowMenuHost(bool do_capture) {
// process of showing.
ignore_capture_lost_ = true;
Show();
-#if defined(TOUCH_UI)
- Activate();
-#endif
if (do_capture)
native_widget_private()->SetMouseCapture();
ignore_capture_lost_ = false;