Index: ui/base/win/foreground_helper.cc |
diff --git a/ui/base/win/foreground_helper.cc b/ui/base/win/foreground_helper.cc |
index b4f53b6daaa29b4a182f16e43b0b4d9ecf5620f5..72830122ac0f98c5000ddbdc7be56c04d1145842 100644 |
--- a/ui/base/win/foreground_helper.cc |
+++ b/ui/base/win/foreground_helper.cc |
@@ -43,7 +43,7 @@ HRESULT ForegroundHelper::ForegroundHotKey(HWND window) { |
hotkey.type = INPUT_KEYBOARD; |
hotkey.ki.wVk = VK_F22; |
if (1 != SendInput(1, &hotkey, sizeof(hotkey))) { |
- LOG(WARNING) << "Failed to send input"; |
+ LOG(WARNING) << "Failed to send input; GetLastError(): " << GetLastError(); |
return E_FAIL; |
} |