summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host_view_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host_view_gtk.cc')
-rw-r--r--chrome/browser/renderer_host/render_widget_host_view_gtk.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc
index 197491e..693ff5e 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc
+++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc
@@ -603,11 +603,7 @@ void RenderWidgetHostViewGtk::Focus() {
void RenderWidgetHostViewGtk::Blur() {
// TODO(estade): We should be clearing native focus as well, but I know of no
// way to do that without focusing another widget.
- // TODO(estade): it doesn't seem like the CanBlur() check should be necessary
- // since we are only called in response to a ViewHost blur message, but this
- // check is made on Windows so I've added it here as well.
- if (host_->CanBlur())
- host_->Blur();
+ host_->Blur();
}
bool RenderWidgetHostViewGtk::HasFocus() {