Index: ui/platform_window/win/win_window.cc |
diff --git a/ui/platform_window/win/win_window.cc b/ui/platform_window/win/win_window.cc |
index 89ff68382f4bf2302e763026e48025137ee3f6b3..ff29e16de05a3b7de6333e9f6ecb83f366a6138d 100644 |
--- a/ui/platform_window/win/win_window.cc |
+++ b/ui/platform_window/win/win_window.cc |
@@ -123,7 +123,7 @@ LRESULT WinWindow::OnCaptureChanged(UINT message, |
LRESULT WinWindow::OnKeyEvent(UINT message, WPARAM w_param, LPARAM l_param) { |
MSG msg = { hwnd(), message, w_param, l_param }; |
- KeyEvent event(msg, message == WM_CHAR); |
+ KeyEvent event(msg); |
delegate_->DispatchEvent(&event); |
SetMsgHandled(event.handled()); |
return 0; |