| Index: ui/gfx/geometry/rect.cc
|
| diff --git a/ui/gfx/geometry/rect.cc b/ui/gfx/geometry/rect.cc
|
| index 4b1c6e918bfb058cce9edc3fb1ac607ef6eebe87..f418e175b89c6fa79a10a4d4ba2d6fb88af23aa5 100644
|
| --- a/ui/gfx/geometry/rect.cc
|
| +++ b/ui/gfx/geometry/rect.cc
|
| @@ -8,8 +8,6 @@
|
|
|
| #if defined(OS_WIN)
|
| #include <windows.h>
|
| -#elif defined(TOOLKIT_GTK)
|
| -#include <gdk/gdk.h>
|
| #endif
|
|
|
| #include "base/logging.h"
|
| @@ -35,12 +33,6 @@ Rect::Rect(const CGRect& r)
|
| set_width(r.size.width);
|
| set_height(r.size.height);
|
| }
|
| -#elif defined(TOOLKIT_GTK)
|
| -Rect::Rect(const GdkRectangle& r)
|
| - : RectBaseT(gfx::Point(r.x, r.y)) {
|
| - set_width(r.width);
|
| - set_height(r.height);
|
| -}
|
| #endif
|
|
|
| #if defined(OS_WIN)
|
| @@ -56,11 +48,6 @@ RECT Rect::ToRECT() const {
|
| CGRect Rect::ToCGRect() const {
|
| return CGRectMake(x(), y(), width(), height());
|
| }
|
| -#elif defined(TOOLKIT_GTK)
|
| -GdkRectangle Rect::ToGdkRectangle() const {
|
| - GdkRectangle r = {x(), y(), width(), height()};
|
| - return r;
|
| -}
|
| #endif
|
|
|
| std::string Rect::ToString() const {
|
|
|