--- Source/WebCore/plugins/PluginView-orig.h	2013-07-19 00:04:11.000000000 -0700
+++ Source/WebCore/plugins/PluginView.h	2013-08-12 16:09:21.000000000 -0700
@@ -427,7 +427,7 @@
         Point mousePosForPlugin(MouseEvent* event = 0) const;
 #endif
 
-#if defined(XP_UNIX) && ENABLE(NETSCAPE_PLUGIN_API)
+#if PLATFORM(X11) && ENABLE(NETSCAPE_PLUGIN_API)
         bool m_hasPendingGeometryChange;
         Pixmap m_drawable;
         Visual* m_visual;
