| Index: ui/gfx/rect.cc
|
| diff --git a/ui/gfx/rect.cc b/ui/gfx/rect.cc
|
| index e0358c839739aafdc2ef0018c6c2f01ce9a64cbf..f05dc09d66cac3342b9d3ba4de5d22a98994bef5 100644
|
| --- a/ui/gfx/rect.cc
|
| +++ b/ui/gfx/rect.cc
|
| @@ -8,7 +8,7 @@
|
| #include <windows.h>
|
| #elif defined(OS_MACOSX)
|
| #include <CoreGraphics/CGGeometry.h>
|
| -#elif defined(TOOLKIT_USES_GTK)
|
| +#elif defined(TOOLKIT_GTK)
|
| #include <gdk/gdk.h>
|
| #endif
|
| #if defined(USE_WAYLAND)
|
| @@ -80,7 +80,7 @@ Rect& Rect::operator=(const CGRect& r) {
|
| set_height(r.size.height);
|
| return *this;
|
| }
|
| -#elif defined(TOOLKIT_USES_GTK)
|
| +#elif defined(TOOLKIT_GTK)
|
| Rect::Rect(const GdkRectangle& r)
|
| : origin_(r.x, r.y) {
|
| set_width(r.width);
|
| @@ -158,7 +158,7 @@ RECT Rect::ToRECT() const {
|
| CGRect Rect::ToCGRect() const {
|
| return CGRectMake(x(), y(), width(), height());
|
| }
|
| -#elif defined(TOOLKIT_USES_GTK)
|
| +#elif defined(TOOLKIT_GTK)
|
| GdkRectangle Rect::ToGdkRectangle() const {
|
| GdkRectangle r = {x(), y(), width(), height()};
|
| return r;
|
|
|