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 26c9491fca5302e3666d049fad859ea3a8dda2ba..1e7c44e6e5822f9b5ac2e1eb212e135048604d0f 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 { |