summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win8/metro_driver/chrome_app_view_ash.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/win8/metro_driver/chrome_app_view_ash.cc b/win8/metro_driver/chrome_app_view_ash.cc
index 0560e73..d0530bd 100644
--- a/win8/metro_driver/chrome_app_view_ash.cc
+++ b/win8/metro_driver/chrome_app_view_ash.cc
@@ -1303,14 +1303,14 @@ HRESULT ChromeAppViewAsh::OnWindowActivated(
// the same.
if (state == winui::Core::CoreWindowActivationState_CodeActivated ||
state == winui::Core::CoreWindowActivationState_PointerActivated) {
- if (text_service_)
- text_service_->OnWindowActivated();
ui_channel_->Send(new MetroViewerHostMsg_WindowActivated(false));
}
} else {
// On Windows 7, we force a repaint when the window is activated.
ui_channel_->Send(new MetroViewerHostMsg_WindowActivated(true));
}
+ if (text_service_)
+ text_service_->OnWindowActivated();
return S_OK;
}