Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: ui/base/win/foreground_helper.cc

Issue 289283003: Revert of Store and restore view focus in OnWindowFocused. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/base/win/foreground_helper.cc
diff --git a/ui/base/win/foreground_helper.cc b/ui/base/win/foreground_helper.cc
index 72830122ac0f98c5000ddbdc7be56c04d1145842..b4f53b6daaa29b4a182f16e43b0b4d9ecf5620f5 100644
--- a/ui/base/win/foreground_helper.cc
+++ b/ui/base/win/foreground_helper.cc
@@ -43,7 +43,7 @@
hotkey.type = INPUT_KEYBOARD;
hotkey.ki.wVk = VK_F22;
if (1 != SendInput(1, &hotkey, sizeof(hotkey))) {
- LOG(WARNING) << "Failed to send input; GetLastError(): " << GetLastError();
+ LOG(WARNING) << "Failed to send input";
return E_FAIL;
}

Powered by Google App Engine
This is Rietveld 408576698