Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
index 1e4f71f5be137818c1d0dcc217042c8a3dbdf297..618d77449607e2a0d5878b299838f0acf951d633 100644 |
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
@@ -369,11 +369,8 @@ |
native_widget_delegate_->OnNativeWidgetActivationChanged(active); |
aura::client::ActivationClient* activation_client = |
aura::client::GetActivationClient(host_->window()); |
- if (!activation_client) { |
- GetInputMethod()->GetLogCollector()->AddString( |
- "Missing OnFocus call when activating due to no activation client."); |
+ if (!activation_client) |
return; |
- } |
if (active) { |
if (GetWidget()->HasFocusManager()) { |
// This function can be called before the focus manager has had a |
@@ -390,9 +387,6 @@ |
// Refreshes the focus info to IMF in case that IMF cached the old info |
// about focused text input client when it was "inactive". |
GetInputMethod()->OnFocus(); |
- } else { |
- GetInputMethod()->GetLogCollector()->AddString( |
- "Missing OnFocus call when activating due to no focus manager."); |
} |
} else { |
// If we're not active we need to deactivate the corresponding |