Index: ui/gfx/vector2d_f.h |
diff --git a/ui/gfx/vector2d_f.h b/ui/gfx/vector2d_f.h |
index 72e1b00b86c6af36592f7ecb858ee2578eee53bd..e38d513c1077c21e7324b815d797116b05cfeeda 100644 |
--- a/ui/gfx/vector2d_f.h |
+++ b/ui/gfx/vector2d_f.h |
@@ -70,6 +70,10 @@ inline bool operator==(const Vector2dF& lhs, const Vector2dF& rhs) { |
return lhs.x() == rhs.x() && lhs.y() == rhs.y(); |
} |
+inline bool operator!=(const Vector2dF& lhs, const Vector2dF& rhs) { |
+ return !(lhs == rhs); |
+} |
+ |
inline Vector2dF operator-(const Vector2dF& v) { |
return Vector2dF(-v.x(), -v.y()); |
} |