Index: base/gfx/rect.h |
=================================================================== |
--- base/gfx/rect.h (revision 14606) |
+++ base/gfx/rect.h (working copy) |
@@ -19,7 +19,7 @@ |
#if defined(OS_WIN) |
typedef struct tagRECT RECT; |
-#elif defined(TOOLKIT_GTK) |
+#elif defined(OS_LINUX) |
typedef struct _GdkRectangle GdkRectangle; |
#endif |
@@ -34,7 +34,7 @@ |
explicit Rect(const RECT& r); |
#elif defined(OS_MACOSX) |
explicit Rect(const CGRect& r); |
-#elif defined(TOOLKIT_GTK) |
+#elif defined(OS_LINUX) |
explicit Rect(const GdkRectangle& r); |
#endif |
Rect(const gfx::Point& origin, const gfx::Size& size); |
@@ -45,7 +45,7 @@ |
Rect& operator=(const RECT& r); |
#elif defined(OS_MACOSX) |
Rect& operator=(const CGRect& r); |
-#elif defined(TOOLKIT_GTK) |
+#elif defined(OS_LINUX) |
Rect& operator=(const GdkRectangle& r); |
#endif |
@@ -97,7 +97,7 @@ |
#if defined(OS_WIN) |
// Construct an equivalent Win32 RECT object. |
RECT ToRECT() const; |
-#elif defined(TOOLKIT_GTK) |
+#elif defined(OS_LINUX) |
GdkRectangle ToGdkRectangle() const; |
#elif defined(OS_MACOSX) |
// Construct an equivalent CoreGraphics object. |