Index: webkit/tools/test_shell/webwidget_host.h |
diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h |
index cf66ed8f0f8e78fae4536d3a214365055f1f3a01..86188c0317c94a8f1b8fa65c2c0f28164f8316f6 100644 |
--- a/webkit/tools/test_shell/webwidget_host.h |
+++ b/webkit/tools/test_shell/webwidget_host.h |
@@ -94,7 +94,7 @@ class WebWidgetHost { |
void KeyEvent(NSEvent *); |
void SetFocus(bool enable); |
protected: |
-#elif defined(OS_LINUX) |
+#elif defined(TOOLKIT_USES_GTK) |
public: |
// --------------------------------------------------------------------------- |
// This is needed on Linux because the GtkWidget creation is the same between |
@@ -139,7 +139,7 @@ class WebWidgetHost { |
bool track_mouse_leave_; |
#endif |
-#if defined(OS_LINUX) |
+#if defined(TOOLKIT_GTK) |
// Since GtkWindow resize is asynchronous, we have to stash the dimensions, |
// so that the backing store doesn't have to wait for sizing to take place. |
gfx::Size logical_size_; |