Index: ui/gfx/point_f.h |
diff --git a/ui/gfx/point_f.h b/ui/gfx/point_f.h |
index 9b2e9340f32cd00b2ead2c9f9504d6a6797c0e60..7a828befcd163da693d5b381b608d0b566c39f0f 100644 |
--- a/ui/gfx/point_f.h |
+++ b/ui/gfx/point_f.h |
@@ -53,7 +53,7 @@ inline PointF operator-(const PointF& lhs, const Vector2dF& rhs) { |
} |
inline Vector2dF operator-(const PointF& lhs, const PointF& rhs) { |
- return lhs.OffsetFrom(rhs); |
+ return Vector2dF(lhs.x() - rhs.x(), lhs.y() - rhs.y()); |
} |
inline PointF PointAtOffsetFromOrigin(const Vector2dF& offset_from_origin) { |