Index: content/public/browser/native_web_keyboard_event.h |
diff --git a/content/public/browser/native_web_keyboard_event.h b/content/public/browser/native_web_keyboard_event.h |
index 4cb2c67dd04c365601acaf22e12aada2e7ad3563..0d8c72d0ba7f423b8476b088fbfdb9cdb21718c4 100644 |
--- a/content/public/browser/native_web_keyboard_event.h |
+++ b/content/public/browser/native_web_keyboard_event.h |
@@ -27,7 +27,7 @@ struct CONTENT_EXPORT NativeWebKeyboardEvent : |
wchar_t character, |
int state, |
double time_stamp_seconds); |
-#elif defined(OS_MACOSX) || defined(TOOLKIT_USES_GTK) |
+#elif defined(OS_MACOSX) || defined(TOOLKIT_GTK) |
// TODO(suzhe): Limit these constructors to Linux native Gtk port. |
// For Linux Views port, after using RenderWidgetHostViewViews to replace |
// RenderWidgetHostViewGtk, we can use constructors for TOOLKIT_VIEWS defined |
@@ -66,7 +66,7 @@ struct CONTENT_EXPORT NativeWebKeyboardEvent : |
// Currently, it's only used by Linux and Mac ports. |
bool skip_in_browser; |
-#if defined(TOOLKIT_USES_GTK) |
+#if defined(TOOLKIT_GTK) |
// True if the key event matches an edit command. In order to ensure the edit |
// command always work in web page, the browser should not pre-handle this key |
// event as a reserved accelerator. See http://crbug.com/54573 |