Index: webkit/tools/test_shell/keyboard_unittest.cc |
diff --git a/webkit/tools/test_shell/keyboard_unittest.cc b/webkit/tools/test_shell/keyboard_unittest.cc |
index 65ac39b8c098bfea332478c364c28acffc1924f0..6c0e139e7312b108e9ee56b4f53dce8ab7c2d6fc 100644 |
--- a/webkit/tools/test_shell/keyboard_unittest.cc |
+++ b/webkit/tools/test_shell/keyboard_unittest.cc |
@@ -64,10 +64,10 @@ class KeyboardTest : public testing::Test { |
// platforms, but meta (command) on Mac. |
const char* InterpretOSModifierKeyPress(char key_code) { |
WebKeyboardEvent keyboard_event; |
-#if defined(OS_WIN) || defined(OS_LINUX) |
- WebInputEvent::Modifiers os_modifier = WebInputEvent::ControlKey; |
-#elif defined(OS_MACOSX) |
+#if defined(OS_MACOSX) |
WebInputEvent::Modifiers os_modifier = WebInputEvent::MetaKey; |
+#else |
+ WebInputEvent::Modifiers os_modifier = WebInputEvent::ControlKey; |
#endif |
SetupKeyDownEvent(&keyboard_event, key_code, os_modifier); |
return InterpretKeyEvent(keyboard_event, PlatformKeyboardEvent::RawKeyDown); |