Index: views/accelerator.cc |
diff --git a/views/accelerator.cc b/views/accelerator.cc |
index 79c72cbf270abebccf54cf6939df14f25816fda3..41a953d051a746ad05b6ff8c181bd7a044dc3ec5 100644 |
--- a/views/accelerator.cc |
+++ b/views/accelerator.cc |
@@ -6,7 +6,7 @@ |
#if defined(OS_WIN) |
#include <windows.h> |
-#elif defined(OS_LINUX) |
+#elif defined(TOOLKIT_USES_GTK) |
#include <gdk/gdk.h> |
#endif |
@@ -83,7 +83,7 @@ string16 Accelerator::GetShortcutText() const { |
else |
key = LOWORD(::MapVirtualKeyW(key_code_, MAPVK_VK_TO_CHAR)); |
shortcut += key; |
-#elif defined(OS_LINUX) |
+#elif defined(TOOLKIT_USES_GTK) |
const gchar* name = NULL; |
switch (key_code_) { |
case ui::VKEY_OEM_2: |