Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
index c9d3f3a67b037de6fff4c1dd5ce8ba40d5a23d95..d6ce68179f0355bb513d1134450b68cecbd1aaa5 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
@@ -40,7 +40,6 @@ |
#include "ui/gfx/screen.h" |
#include "ui/native_theme/native_theme.h" |
#include "ui/views/corewm/tooltip_aura.h" |
-#include "ui/views/ime/input_method.h" |
#include "ui/views/linux_ui/linux_ui.h" |
#include "ui/views/views_delegate.h" |
#include "ui/views/views_switches.h" |
@@ -898,12 +897,9 @@ void DesktopWindowTreeHostX11::OnRootViewLayout() { |
} |
void DesktopWindowTreeHostX11::OnNativeWidgetFocus() { |
- native_widget_delegate_->AsWidget()->GetInputMethod()->OnFocus(); |
} |
void DesktopWindowTreeHostX11::OnNativeWidgetBlur() { |
- if (xwindow_) |
- native_widget_delegate_->AsWidget()->GetInputMethod()->OnBlur(); |
} |
bool DesktopWindowTreeHostX11::IsAnimatingClosed() const { |