Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Issue 1154213005: Add operator==, hashCode, and toString for Rect and Point dart classes. (Closed)

Created:
5 years, 6 months ago by Matt Perry
Modified:
5 years, 6 months ago
CC:
abarth-chromium, gregsimon, mojo-reviews_chromium.org, ojan, qsr+mojo_chromium.org
Base URL:
git@github.com:/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Add operator==, hashCode, and toString for Rect, Point, and Size dart classes. R=abarth@chromium.org, sethladd@google.com Committed: https://chromium.googlesource.com/external/mojo/+/bc26101adc58c1c6e4da1f5ef8e1ce57f0d56b8c

Patch Set 1 #

Total comments: 10

Patch Set 2 : formatted #

Patch Set 3 : Size hashCode #

Total comments: 2

Patch Set 4 : nits #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -19 lines) Patch
M sky/engine/core/painting/Point.dart View 1 1 chunk +13 lines, -0 lines 0 comments Download
M sky/engine/core/painting/Rect.dart View 1 2 3 2 chunks +27 lines, -18 lines 2 comments Download
M sky/engine/core/painting/Size.dart View 1 2 1 chunk +14 lines, -1 line 0 comments Download

Messages

Total messages: 12 (2 generated)
Matt Perry
5 years, 6 months ago (2015-05-27 21:55:32 UTC) #2
sethladd
lgtm with some comments
5 years, 6 months ago (2015-05-27 22:05:21 UTC) #3
sethladd
https://chromiumcodereview.appspot.com/1154213005/diff/1/sky/engine/core/painting/Point.dart File sky/engine/core/painting/Point.dart (right): https://chromiumcodereview.appspot.com/1154213005/diff/1/sky/engine/core/painting/Point.dart#newcode7 sky/engine/core/painting/Point.dart:7: class Point { If yall are adding comments, here's ...
5 years, 6 months ago (2015-05-27 22:19:50 UTC) #4
Matt Perry
https://codereview.chromium.org/1154213005/diff/1/sky/engine/core/painting/Point.dart File sky/engine/core/painting/Point.dart (right): https://codereview.chromium.org/1154213005/diff/1/sky/engine/core/painting/Point.dart#newcode7 sky/engine/core/painting/Point.dart:7: class Point { On 2015/05/27 22:19:49, sethladd wrote: > ...
5 years, 6 months ago (2015-05-28 17:05:54 UTC) #5
abarth-chromium
lgtm
5 years, 6 months ago (2015-05-28 17:06:13 UTC) #7
sethladd
https://codereview.chromium.org/1154213005/diff/40001/sky/engine/core/painting/Rect.dart File sky/engine/core/painting/Rect.dart (right): https://codereview.chromium.org/1154213005/diff/40001/sky/engine/core/painting/Rect.dart#newcode9 sky/engine/core/painting/Rect.dart:9: Float32List _value; you could initialize this value here. Float32List ...
5 years, 6 months ago (2015-05-28 17:09:03 UTC) #8
Matt Perry
Thanks for the detailed review! https://codereview.chromium.org/1154213005/diff/40001/sky/engine/core/painting/Rect.dart File sky/engine/core/painting/Rect.dart (right): https://codereview.chromium.org/1154213005/diff/40001/sky/engine/core/painting/Rect.dart#newcode9 sky/engine/core/painting/Rect.dart:9: Float32List _value; On 2015/05/28 ...
5 years, 6 months ago (2015-05-28 17:25:06 UTC) #9
sethladd
https://codereview.chromium.org/1154213005/diff/60001/sky/engine/core/painting/Rect.dart File sky/engine/core/painting/Rect.dart (right): https://codereview.chromium.org/1154213005/diff/60001/sky/engine/core/painting/Rect.dart#newcode18 sky/engine/core/painting/Rect.dart:18: _value[0] = point.x you may want to move this ...
5 years, 6 months ago (2015-05-28 17:27:38 UTC) #10
Matt Perry
https://codereview.chromium.org/1154213005/diff/60001/sky/engine/core/painting/Rect.dart File sky/engine/core/painting/Rect.dart (right): https://codereview.chromium.org/1154213005/diff/60001/sky/engine/core/painting/Rect.dart#newcode18 sky/engine/core/painting/Rect.dart:18: _value[0] = point.x On 2015/05/28 17:27:37, sethladd wrote: > ...
5 years, 6 months ago (2015-05-28 17:29:44 UTC) #11
Matt Perry
5 years, 6 months ago (2015-05-28 17:33:09 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
bc26101adc58c1c6e4da1f5ef8e1ce57f0d56b8c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698