| Index: ui/gfx/rect_base.h
|
| diff --git a/ui/gfx/rect_base.h b/ui/gfx/rect_base.h
|
| index b6b5c99c6c5d29beaeba23770eeaf8a5d1280b7e..08c9121eec142f197de25c407e555dd7bdd482c5 100644
|
| --- a/ui/gfx/rect_base.h
|
| +++ b/ui/gfx/rect_base.h
|
| @@ -75,12 +75,6 @@ class UI_EXPORT RectBase {
|
| // Returns true if the area of the rectangle is zero.
|
| bool IsEmpty() const { return size_.IsEmpty(); }
|
|
|
| - bool operator==(const Class& other) const;
|
| -
|
| - bool operator!=(const Class& other) const {
|
| - return !(*this == other);
|
| - }
|
| -
|
| // A rect is less than another rect if its origin is less than
|
| // the other rect's origin. If the origins are equal, then the
|
| // shortest rect is less than the other. If the origin and the
|
| @@ -118,11 +112,6 @@ class UI_EXPORT RectBase {
|
| // returned.
|
| Class Subtract(const Class& rect) const WARN_UNUSED_RESULT;
|
|
|
| - // Returns true if this rectangle equals that of the supplied rectangle.
|
| - bool Equals(const Class& rect) const {
|
| - return *this == rect;
|
| - }
|
| -
|
| // Fits as much of the receiving rectangle into the supplied rectangle as
|
| // possible, returning the result. For example, if the receiver had
|
| // a x-location of 2 and a width of 4, and the supplied rectangle had
|
|
|