| Index: ui/gfx/rect.h
|
| diff --git a/ui/gfx/rect.h b/ui/gfx/rect.h
|
| index d19074cb44426a0504dc7e23a34b1d6256e59914..113647188353bf2a310c9ee738eb93f99ac2f3e3 100644
|
| --- a/ui/gfx/rect.h
|
| +++ b/ui/gfx/rect.h
|
| @@ -20,7 +20,7 @@
|
|
|
| #if defined(OS_WIN)
|
| typedef struct tagRECT RECT;
|
| -#elif defined(TOOLKIT_USES_GTK)
|
| +#elif defined(TOOLKIT_GTK)
|
| typedef struct _GdkRectangle GdkRectangle;
|
| #endif
|
|
|
| @@ -41,7 +41,7 @@ class UI_EXPORT Rect {
|
| explicit Rect(const RECT& r);
|
| #elif defined(OS_MACOSX)
|
| explicit Rect(const CGRect& r);
|
| -#elif defined(TOOLKIT_USES_GTK)
|
| +#elif defined(TOOLKIT_GTK)
|
| explicit Rect(const GdkRectangle& r);
|
| #endif
|
| #if defined(USE_WAYLAND)
|
| @@ -56,7 +56,7 @@ class UI_EXPORT Rect {
|
| Rect& operator=(const RECT& r);
|
| #elif defined(OS_MACOSX)
|
| Rect& operator=(const CGRect& r);
|
| -#elif defined(TOOLKIT_USES_GTK)
|
| +#elif defined(TOOLKIT_GTK)
|
| Rect& operator=(const GdkRectangle& r);
|
| #endif
|
| #if defined(USE_WAYLAND)
|
| @@ -123,7 +123,7 @@ class UI_EXPORT Rect {
|
| #if defined(OS_WIN)
|
| // Construct an equivalent Win32 RECT object.
|
| RECT ToRECT() const;
|
| -#elif defined(TOOLKIT_USES_GTK)
|
| +#elif defined(TOOLKIT_GTK)
|
| GdkRectangle ToGdkRectangle() const;
|
| #elif defined(OS_MACOSX)
|
| // Construct an equivalent CoreGraphics object.
|
|
|