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

Issue 93131: Change Size::IsEmpty() to be consistent with Rect::IsEmpty() (Closed)

Created:
11 years, 8 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Change Size::IsEmpty() to be consistent with Rect::IsEmpty() Change Size to not accept negative dimensions to be consistent with Rect. BUG=10992 TEST=base_unittests.exe --gtest_filter=RectTest.IsEmpty Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14567

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -23 lines) Patch
M base/gfx/rect.h View 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M base/gfx/rect.cc View 2 3 4 5 2 chunks +0 lines, -14 lines 0 comments Download
M base/gfx/rect_unittest.cc View 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M base/gfx/size.h View 1 2 3 4 5 6 7 3 chunks +9 lines, -8 lines 0 comments Download
M base/gfx/size.cc View 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Erik does not do reviews
I'm a bit nervous about a low level change like this. The try server seem ...
11 years, 8 months ago (2009-04-24 20:25:07 UTC) #1
brettw
+Ben who I think worked on this.
11 years, 8 months ago (2009-04-24 20:30:24 UTC) #2
Ben Goodger (Google)
On 2009/04/24 20:30:24, brettw wrote: > +Ben who I think worked on this. LGTM - ...
11 years, 8 months ago (2009-04-24 20:39:56 UTC) #3
darin (slow to review)
WebCore's IntRect and IntSize actually do <= 0 comparisons for the isEmpty check. I think ...
11 years, 8 months ago (2009-04-24 21:32:42 UTC) #4
Erik does not do reviews
On 2009/04/24 21:32:42, darin wrote: > WebCore's IntRect and IntSize actually do <= 0 comparisons ...
11 years, 8 months ago (2009-04-26 21:25:10 UTC) #5
Erik does not do reviews
11 years, 8 months ago (2009-04-26 22:47:16 UTC) #6
I submitted this TBR since you had all basically bought in to the original
change, and since I could easily test and roll it back on the weekend if it
caused any grief.  It appears to have passed all of the bots.

Powered by Google App Engine
This is Rietveld 408576698