Chromium Code Reviews| Index: tools/dom/src/Point.dart |
| diff --git a/tools/dom/src/Point.dart b/tools/dom/src/Point.dart |
| index 958b7312d016e64ed947ede1f5e6848c2a1a1bd0..366cae055aadaabc000d0d117ce0bf58fc89d130 100644 |
| --- a/tools/dom/src/Point.dart |
| +++ b/tools/dom/src/Point.dart |
| @@ -20,6 +20,8 @@ class Point { |
| return x == other.x && y == other.y; |
| } |
| + int get hashCode => JenkinsSmiHash.hash2(x.hashCode, y.hashCode); |
| + |
| Point operator +(Point other) { |
| return new Point(x + other.x, y + other.y); |
| } |